From 04e3becc3879d8e3d9f20302ddce3d01ac0eaab6 Mon Sep 17 00:00:00 2001 From: Daniel M Date: Tue, 7 May 2024 08:09:24 -0400 Subject: [PATCH] fix:publishing docs permissions --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 895cea40..7feac268 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,6 +10,7 @@ jobs: publish: runs-on: ubuntu-latest permissions: + contents: write id-token: write # IMPORTANT: this permission is mandatory for trusted publishing environment: name: pypi @@ -36,7 +37,7 @@ jobs: - name: Publish documentation env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }} run: | pip install -r docs/requirements.txt