diff --git a/.github/workflows/docs-action.yml b/.github/workflows/docs-action.yml index 13051a4c1..e668c5b22 100644 --- a/.github/workflows/docs-action.yml +++ b/.github/workflows/docs-action.yml @@ -11,9 +11,8 @@ on: jobs: build: - permission: + permissions: pages: write # to deploy to Pages - id-token: write # to verify the deployment originates from an appropriate source runs-on: ubuntu-latest steps: - name: Checkout Github repo @@ -68,7 +67,7 @@ jobs: env: DOCSBRANCH: "gh-pages" DOCSREMOTE: "origin" - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + GITHUB_TOKEN: "${{ secrets.GH_PAGES_PAT }}" run: | rm libs/gl-client-py/glclient/*.pyi PATH=$(pwd)/.venv/bin:$PATH make docs