Skip to content

Commit e4da371

Browse files
authored
fix: use a more secure token
Use a more secure token,each time it is generated automatically by GitHub.
1 parent 44fad36 commit e4da371

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ jobs:
4848
- name: Deploy to feat/deploy
4949
uses: peaceiris/actions-gh-pages@v3
5050
with:
51-
github_token: ${{ secrets.REPO_TOKEN }}
51+
github_token: ${{ secrets.GITHUB_TOKEN }}
5252
publish_dir: docs/.vitepress/dist
5353
publish_branch: feat/deploy
5454
user_name: 'github-actions[bot]'
5555
user_email: 'github-actions[bot]@users.noreply.github.com'
56-
commit_message: 'Deploy docs to feat/deploy'
56+
commit_message: 'Deploy docs to feat/deploy'

0 commit comments

Comments
 (0)