Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[update] new hints in the example of github-pages.md #1979

Merged
merged 5 commits into from
Feb 15, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions source/zh-tw/docs/github-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
# If you have other token like `ssh-key`, please check the usage of this action: https://github.com/actions/checkout#usage
token: ${{ secrets.DEPLOY_TOKEN }}
# If your repository depends on submodule, please see: https://github.com/actions/checkout
submodules: recursive
- name: Use Node.js 16.x
Expand All @@ -51,7 +52,8 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Please check the supported token here: https://github.com/peaceiris/actions-gh-pages#supported-tokens
github_token: ${{ secrets.DEPLOY_TOKEN }}
publish_dir: ./public
```

Expand Down