From 20286caac4b33c780b2f1cc18bde1ee3e545b00b Mon Sep 17 00:00:00 2001 From: Benjamin Bollen Date: Mon, 2 Sep 2024 13:28:21 +0100 Subject: [PATCH] (docs): fix github action to deploy --- .github/workflows/deploy-mkdocs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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