Skip to content

Commit

Permalink
Checking permissions for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
cbuahin committed Jul 11, 2024
1 parent 545bdac commit f12c1db
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down

0 comments on commit f12c1db

Please sign in to comment.