docs: workaround unstaged file when checking out gh-pages
parent
c166c643fc
commit
9ee6788f98
|
@ -86,6 +86,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config user.name github-actions
|
git config user.name github-actions
|
||||||
git config user.email github-actions@github.com
|
git config user.email github-actions@github.com
|
||||||
|
git stash
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
rm -rf $(basename ${GITHUB_REF})
|
rm -rf $(basename ${GITHUB_REF})
|
||||||
mv docs/_build/html $(basename ${GITHUB_REF})
|
mv docs/_build/html $(basename ${GITHUB_REF})
|
||||||
|
|
Loading…
Reference in New Issue