docs: workaround unstaged file when checking out gh-pages
This commit is contained in:
parent
c166c643fc
commit
9ee6788f98
1
.github/workflows/docs.yml
vendored
1
.github/workflows/docs.yml
vendored
@ -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…
x
Reference in New Issue
Block a user