Skip to content
Permalink
Browse files
Changing the gh-pages deploy so that the gh-pages branch is always a …
…single commit instead of something that keeps history (#26)
  • Loading branch information
westonpace committed Aug 11, 2021
1 parent e0177cb commit 2db9fad72ee27526ca96c62dfde15ec521782472
Showing 1 changed file with 2 additions and 1 deletion.
@@ -45,6 +45,7 @@ jobs:
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com'
git checkout --orphan gh-pages-tmp
git add *
git commit -m 'publish built book'
git push origin gh-pages
git push -f origin gh-pages-tmp:gh-pages

0 comments on commit 2db9fad

Please sign in to comment.