Skip to content

Commit 640ac62

Browse files
committed
chore: update ci
1 parent 37c25a4 commit 640ac62

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,6 @@ jobs:
9696
git config --local user.email "[email protected]"
9797
git config --local user.name "vbenAdmin"
9898
99-
- name: Delete gh-pages branch
100-
run: |
101-
git push origin --delete gh-pages
102-
10399
- name: Build
104100
run: |
105101
yarn install
@@ -113,3 +109,8 @@ jobs:
113109
ACTIONS_DEPLOY_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}}
114110
PUBLISH_BRANCH: gh-pages
115111
PUBLISH_DIR: ./dist
112+
allow_empty_commit: true
113+
114+
- name: Delete gh-pages branch
115+
run: |
116+
git push origin --delete gh-pages

0 commit comments

Comments
 (0)