diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index feb8d641a9..77a01ae50e 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -12,7 +12,7 @@ jobs: - name: Checkout code uses: actions/checkout@v6 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.DEPLOYMENT_PERSONAL_ACCESS_TOKEN }} submodules: true # git-revision-date-localized-plugin and mkdocs-rss-plugin need full git history depth fetch-depth: 0 @@ -96,7 +96,7 @@ jobs: uses: peaceiris/actions-gh-pages@v4 if: github.ref == 'refs/heads/master' with: - github_token: ${{ secrets.GITHUB_TOKEN }} + personal_token: ${{ secrets.DEPLOYMENT_PERSONAL_ACCESS_TOKEN }} publish_dir: ./site destination_dir: ./ keep_files: true