Skip to content

Commit 1a52a12

Browse files
Fix personal tokens mkdocs file (#2575)
* fix personal tokens on mkdocs.yml file
1 parent f4a6025 commit 1a52a12

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Checkout code
1313
uses: actions/checkout@v6
1414
with:
15-
token: ${{ secrets.GITHUB_TOKEN }}
15+
token: ${{ secrets.DEPLOYMENT_PERSONAL_ACCESS_TOKEN }}
1616
submodules: true
1717
# git-revision-date-localized-plugin and mkdocs-rss-plugin need full git history depth
1818
fetch-depth: 0
@@ -96,7 +96,7 @@ jobs:
9696
uses: peaceiris/actions-gh-pages@v4
9797
if: github.ref == 'refs/heads/master'
9898
with:
99-
github_token: ${{ secrets.GITHUB_TOKEN }}
99+
personal_token: ${{ secrets.DEPLOYMENT_PERSONAL_ACCESS_TOKEN }}
100100
publish_dir: ./site
101101
destination_dir: ./
102102
keep_files: true

0 commit comments

Comments
 (0)