Commit 640ac6217fafda13d5d35cfaaf3edf2f6b23c171

Authored by vben
1 parent 37c25a42

chore: update ci

Showing 1 changed file with 5 additions and 4 deletions
.github/workflows/deploy.yml
... ... @@ -96,10 +96,6 @@ jobs:
96 96 git config --local user.email "vbenadmin@163.com"
97 97 git config --local user.name "vbenAdmin"
98 98  
99   - - name: Delete gh-pages branch
100   - run: |
101   - git push origin --delete gh-pages
102   -
103 99 - name: Build
104 100 run: |
105 101 yarn install
... ... @@ -113,3 +109,8 @@ jobs:
113 109 ACTIONS_DEPLOY_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}}
114 110 PUBLISH_BRANCH: gh-pages
115 111 PUBLISH_DIR: ./dist
  112 + allow_empty_commit: true
  113 +
  114 + - name: Delete gh-pages branch
  115 + run: |
  116 + git push origin --delete gh-pages
... ...