diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 24219248d..c583920a4 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -8,11 +8,6 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -permissions: - contents: read - pull-requests: write - id-token: write - # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: @@ -22,6 +17,10 @@ concurrency: jobs: build_docs: name: Build Docs + permissions: + contents: read + pull-requests: write + id-token: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}