chore: update ci

This commit is contained in:
JinMao 2022-11-15 20:21:43 +08:00
parent 908a2fbb3a
commit 057b82632b

View File

@ -103,6 +103,10 @@ jobs:
touch dist/.nojekyll
cp dist/index.html dist/404.html
- name: Delete gh-pages branch
run: |
git push origin --delete gh-pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v2.5.0
env:
@ -112,6 +116,5 @@ jobs:
with:
forceOrphan: true
- name: Delete gh-pages branch
run: |
git push origin --delete gh-pages