Skip to content

Commit b2d19c8

Browse files
committed
ci: use personal_token to deploy to github pages
Signed-off-by: Zhouqi Jiang <luojia@hust.edu.cn>
1 parent f97a2ae commit b2d19c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
- name: Deploy to GitHub Pages
2828
uses: peaceiris/actions-gh-pages@v4
2929
with:
30-
github_token: ${{ secrets.GH_PAGES_TOKEN }} # 部署到github pages需要配置Secrets
31-
publish_dir: ./dist
30+
personal_token: ${{ secrets.GH_PAGES_TOKEN }} # 部署到github pages需要配置Secrets
31+
publish_dir: ./dist

0 commit comments

Comments
 (0)