Skip to content

Commit

Permalink
test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianBurke committed Nov 7, 2024
1 parent 3103ee0 commit 8aa7532
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/demo-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand All @@ -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
Expand Down

0 comments on commit 8aa7532

Please sign in to comment.