Skip to content

Commit

Permalink
test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianBurke committed Nov 6, 2024
1 parent adbddaa commit bc49500
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/demo-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
# Remove gh-pages directory if it exists
if [ -d "$GHPAGES_PATH" ]; then
rm -rf "$GHPAGES_PATH"
rm -rf "$GHPAGES_PATH"
fi
# Reinitialize the gh-pages branch with a clean history
Expand All @@ -62,9 +62,16 @@ jobs:
git rm -rf .
touch .nojekyll
git add .nojekyll
# Set Git user identity for commits in this environment
git config user.name "GitHub Actions"
git config user.email "[email protected]"
# Commit and push to initialize the gh-pages branch
git commit -m "Reinitialize gh-pages branch"
git push --force origin gh-pages
# Step 6: Force Push to gh-pages Branch with Authentication
- name: Configure Remote with GitHub Token
run: |
Expand Down

0 comments on commit bc49500

Please sign in to comment.