diff --git a/.github/workflows/deploy-mkdocs.yml b/.github/workflows/deploy-mkdocs.yml index 7604d9e..08f1652 100644 --- a/.github/workflows/deploy-mkdocs.yml +++ b/.github/workflows/deploy-mkdocs.yml @@ -7,6 +7,8 @@ on: jobs: deploy: + permissions: + contents: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -32,5 +34,5 @@ jobs: - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.GH_PAT }} publish_dir: ./docs/site \ No newline at end of file