Commit 31f489fa90ba8c2f00420c2e564fbac2029ec524

Authored by vben
1 parent 640ac621

chore: update ci

Showing 1 changed file with 6 additions and 5 deletions
.github/workflows/deploy.yml
@@ -104,12 +104,13 @@ jobs: @@ -104,12 +104,13 @@ jobs:
104 cp dist/index.html dist/404.html 104 cp dist/index.html dist/404.html
105 105
106 - name: Deploy 106 - name: Deploy
107 - uses: peaceiris/actions-gh-pages@v3  
108 - with:  
109 - ACTIONS_DEPLOY_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}} 107 + uses: peaceiris/actions-gh-pages@v2.5.0
  108 + env:
  109 + ACTIONS_DEPLOY_KEY: ${{secrets.DEPLOY_TOKEN}}
110 PUBLISH_BRANCH: gh-pages 110 PUBLISH_BRANCH: gh-pages
111 - PUBLISH_DIR: ./dist  
112 - allow_empty_commit: true 111 + PUBLISH_DIR: ./.vitepress/dist
  112 + with:
  113 + forceOrphan: true
113 114
114 - name: Delete gh-pages branch 115 - name: Delete gh-pages branch
115 run: | 116 run: |