forked from wet-boew/GCWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3103ee0
commit 8aa7532
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,7 +71,7 @@ jobs: | |
git push --force origin gh-pages | ||
fi | ||
# Move into the gh-pages directory and configure user for commits | ||
# Set Git user identity for commits in this environment | ||
git config user.name "GitHub Actions" | ||
git config user.email "[email protected]" | ||
|
@@ -80,8 +80,11 @@ jobs: | |
git submodule add -b master https://github.com/ServiceCanada/wet-boew-demos.git GCWeb | ||
fi | ||
# Commit any changes in submodules | ||
git add .gitmodules GCWeb | ||
# Check if .gitmodules exists before attempting to add it | ||
if [ -f .gitmodules ]; then | ||
git add .gitmodules | ||
fi | ||
git add GCWeb | ||
git commit -m "Update submodule GCWeb" --allow-empty | ||
git pull --rebase origin gh-pages || true # Sync with remote, ignore rebase errors | ||
|