Skip to content

Commit

Permalink
Fix GitHub Actions permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
steinbro committed Jun 30, 2024
1 parent 9aff3e4 commit 0a0a8a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
if: github.ref == 'refs/heads/main'
needs: build-and-test

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
environment:
name: github-pages
Expand Down

0 comments on commit 0a0a8a3

Please sign in to comment.