Skip to content

Commit

Permalink
Update static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinWu0403 committed Jul 18, 2024
1 parent b2c8abc commit da26acf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ jobs:
fi
# Checkout or create gh-pages branch
git fetch origin gh-pages || git checkout --orphan gh-pages
if git ls-remote --exit-code --heads origin gh-pages; then
git fetch origin gh-pages
git checkout gh-pages
else
git checkout --orphan gh-pages
fi
# Add all files
git add .
Expand Down

0 comments on commit da26acf

Please sign in to comment.