Skip to content

Commit

Permalink
Tweak GITHUB_TOKEN permissions for Pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
homeworkprod committed Nov 4, 2024
1 parent 8c1527f commit 73166bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ on:

jobs:
build:
# Grant `GITHUB_TOKEN` the permissions required to make a Pages deployment.
# Grant `GITHUB_TOKEN` the necessary permissions.
permissions:
contents: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
contents: write
deployments: write
pages: write

runs-on: ubuntu-latest

Expand Down

0 comments on commit 73166bc

Please sign in to comment.