Skip to content

Commit

Permalink
Fix missing GITHUB_TOKEN env var and permit write to contents
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Reynolds <[email protected]>
  • Loading branch information
gsreynolds committed Apr 18, 2023
1 parent a7fa8c4 commit b0b2498
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cd-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

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

Expand Down Expand Up @@ -64,6 +64,8 @@ jobs:
with:
target_branch: gh-pages
build_dir: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

sync-branch:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b0b2498

Please sign in to comment.