Skip to content

Commit

Permalink
Exclude .git to not destroy the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
xiwenc committed Sep 8, 2024
1 parent 2a0487e commit 68dbef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ jobs:
run: |
git config --global user.name 'Robot'
git config --global user.email '[email protected]'
rsync -av --delete site/ public/
rsync -av --delete --exclude='.git' site/ public/
cd public && git add . && git commit -m "Publish" && git push origin gh-pages

0 comments on commit 68dbef6

Please sign in to comment.