Skip to content

Commit

Permalink
gh-pages.yml set required permissions for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Jun 26, 2023
1 parent 0262b75 commit 7badd12
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
branches: [main]
workflow_dispatch:

# set permissions of GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

jobs:
build:
uses: janosh/workflows/.github/workflows/nodejs-gh-pages.yml@main
Expand Down

0 comments on commit 7badd12

Please sign in to comment.