Skip to content

Commit b6ebe0f

Browse files
authored
Merge pull request #25 from UMLCloudComputing/fix-Update-submodule-script-init-condition
fix: Update init condition for submodules
2 parents ab96dc9 + 46b4505 commit b6ebe0f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

submodules_automation.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ git pull origin main
44
# ASSUMING ALL PROJECTS HAVE BEEN ADDED AS GIT SUBMODULES
55
# To include a new project into the list of added projects
66
# add it's proper name into the sequence below called `projects`
7-
projects=("UniPath.io" "rowdybot" "react-mui-resume")
7+
git submodule update --init
88
git submodule foreach git pull origin main
9+
projects=("UniPath.io" "rowdybot" "react-mui-resume")
910
for i in "${projects[@]}"; do
10-
rsync ./submodules/$i/docs/web_docs/* ./docs/projects/$i
11+
rsync ~/UMLCloudComputing.github.io/submodules/$i/docs/web_docs/* ~/UMLCloudComputing.github.io/docs/projects/$i
1112
done

0 commit comments

Comments
 (0)