Skip to content

Commit d52c7c6

Browse files
authored
chore: use GITHUB_TOKEN
1 parent 661625e commit d52c7c6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/deploy-demo.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
npm run build
2727
npm run export
2828
- name: Deploy
29-
uses: peaceiris/actions-gh-pages@v2
30-
env:
31-
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
32-
PUBLISH_DIR: demo/out
33-
PUBLISH_BRANCH: gh-pages
29+
uses: peaceiris/actions-gh-pages@v3
30+
with:
31+
github_token: ${{ secrets.GITHUB_TOKEN }}
32+
publish_dir: demo/out

0 commit comments

Comments
 (0)