chore: update ci
This commit is contained in:
parent
37c25a42f5
commit
640ac6217f
|
|
@ -96,10 +96,6 @@ jobs:
|
||||||
git config --local user.email "vbenadmin@163.com"
|
git config --local user.email "vbenadmin@163.com"
|
||||||
git config --local user.name "vbenAdmin"
|
git config --local user.name "vbenAdmin"
|
||||||
|
|
||||||
- name: Delete gh-pages branch
|
|
||||||
run: |
|
|
||||||
git push origin --delete gh-pages
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
yarn install
|
yarn install
|
||||||
|
|
@ -113,3 +109,8 @@ jobs:
|
||||||
ACTIONS_DEPLOY_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}}
|
ACTIONS_DEPLOY_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}}
|
||||||
PUBLISH_BRANCH: gh-pages
|
PUBLISH_BRANCH: gh-pages
|
||||||
PUBLISH_DIR: ./dist
|
PUBLISH_DIR: ./dist
|
||||||
|
allow_empty_commit: true
|
||||||
|
|
||||||
|
- name: Delete gh-pages branch
|
||||||
|
run: |
|
||||||
|
git push origin --delete gh-pages
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue