docs: workaround unstaged file when checking out gh-pages

main
Guido Grazioli 2022-03-31 15:13:30 +02:00
parent c166c643fc
commit 9ee6788f98
No known key found for this signature in database
GPG Key ID: 22C8C31EF2BC093B
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ jobs:
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git stash
git checkout gh-pages
rm -rf $(basename ${GITHUB_REF})
mv docs/_build/html $(basename ${GITHUB_REF})