Skip to content

Commit 057b826

Browse files
committed
chore: update ci
1 parent 908a2fb commit 057b826

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ jobs:
103103
touch dist/.nojekyll
104104
cp dist/index.html dist/404.html
105105
106+
- name: Delete gh-pages branch
107+
run: |
108+
git push origin --delete gh-pages
109+
106110
- name: Deploy
107111
uses: peaceiris/[email protected]
108112
env:
@@ -112,6 +116,5 @@ jobs:
112116
with:
113117
forceOrphan: true
114118

115-
- name: Delete gh-pages branch
116-
run: |
117-
git push origin --delete gh-pages
119+
120+

0 commit comments

Comments
 (0)