Browse Source

chore: update ci

pull/2386/head
JinMao 4 years ago
parent
commit
057b82632b
  1. 9
      .github/workflows/deploy.yml

9
.github/workflows/deploy.yml

@ -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

Loading…
Cancel
Save