chore: update ci

This commit is contained in:
vben 2022-11-14 14:36:42 +08:00
parent 640ac6217f
commit 31f489fa90

View File

@ -104,12 +104,13 @@ jobs:
cp dist/index.html dist/404.html cp dist/index.html dist/404.html
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v2.5.0
with: env:
ACTIONS_DEPLOY_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}} ACTIONS_DEPLOY_KEY: ${{secrets.DEPLOY_TOKEN}}
PUBLISH_BRANCH: gh-pages PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./dist PUBLISH_DIR: ./.vitepress/dist
allow_empty_commit: true with:
forceOrphan: true
- name: Delete gh-pages branch - name: Delete gh-pages branch
run: | run: |