Skip to content

Commit

Permalink
fix: allow gh-pages action to write
Browse files Browse the repository at this point in the history
  • Loading branch information
panaC committed Dec 2, 2024
1 parent 0f6eb17 commit b76517f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ on:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
contents: 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.
Expand Down Expand Up @@ -58,6 +56,6 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build-demo
publish_branch: pages # default: gh-pages
publish_branch: gh-pages # default: gh-pages
destination_dir: ./
enable_jekyll: true # yes for README.md

0 comments on commit b76517f

Please sign in to comment.