Skip to content

Commit a3a20c1

Browse files
committed
Merge branch 'main' of github.com:UMLCloudComputing/UMLCloudComputing.github.io into feat--Update-Tutorials-section
2 parents 926047a + 0bc68ab commit a3a20c1

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

submodules_automation.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
#! /usr/bin/bash
2-
# Be sure to use dos2unix if editing on Windows or macOS
3-
git pull origin main
4-
# ASSUMING ALL PROJECTS HAVE BEEN ADDED AS GIT SUBMODULES
5-
# To include a new project into the list of added projects
6-
# add it's proper name into the sequence below called `projects`
7-
git submodule update --init
8-
git submodule foreach git pull origin main
9-
projects=("UniPath.io" "rowdybot" "react-mui-resume")
10-
for i in "${projects[@]}"; do
11-
rsync ~/UMLCloudComputing.github.io/submodules/$i/docs/web_docs/* ~/UMLCloudComputing.github.io/docs/projects/$i
12-
done
1+
#! /usr/bin/bash
2+
# Be sure to use dos2unix if editing on Windows or macOS
3+
git pull origin main
4+
# ASSUMING ALL PROJECTS HAVE BEEN ADDED AS GIT SUBMODULES
5+
# To include a new project into the list of added projects
6+
# add it's proper name into the sequence below called `projects`
7+
git submodule update --init
8+
git submodule foreach git pull origin main
9+
projects=("UniPath.io" "rowdybot" "react-mui-resume")
10+
for i in "${projects[@]}"; do
11+
rsync submodules/$i/docs/web_docs/* docs/projects/$i
12+
done

0 commit comments

Comments
 (0)