Skip to content

Commit 31f489f

Browse files
committed
chore: update ci
1 parent 640ac62 commit 31f489f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,13 @@ jobs:
104104
cp dist/index.html dist/404.html
105105
106106
- 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}}
110110
PUBLISH_BRANCH: gh-pages
111-
PUBLISH_DIR: ./dist
112-
allow_empty_commit: true
111+
PUBLISH_DIR: ./.vitepress/dist
112+
with:
113+
forceOrphan: true
113114

114115
- name: Delete gh-pages branch
115116
run: |

0 commit comments

Comments
 (0)