Commit 057b82632b16bf2db70d591215e51f0db5bed5c7
1 parent
908a2fbb
chore: update ci
Showing
1 changed file
with
6 additions
and
3 deletions
.github/workflows/deploy.yml
... | ... | @@ -103,6 +103,10 @@ jobs: |
103 | 103 | touch dist/.nojekyll |
104 | 104 | cp dist/index.html dist/404.html |
105 | 105 | |
106 | + - name: Delete gh-pages branch | |
107 | + run: | | |
108 | + git push origin --delete gh-pages | |
109 | + | |
106 | 110 | - name: Deploy |
107 | 111 | uses: peaceiris/actions-gh-pages@v2.5.0 |
108 | 112 | env: |
... | ... | @@ -112,6 +116,5 @@ jobs: |
112 | 116 | with: |
113 | 117 | forceOrphan: true |
114 | 118 | |
115 | - - name: Delete gh-pages branch | |
116 | - run: | | |
117 | - git push origin --delete gh-pages | |
119 | + | |
120 | + | ... | ... |