Skip to content

Commit

Permalink
Add token permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Apr 17, 2024
1 parent 61c4979 commit 639eefa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ on:
branches:
- trunk


jobs:
# Build job
build:
runs-on: ubuntu-latest
permissions:
contents: write # to deploy to Pages

steps:
- name: Checkout code
Expand All @@ -18,4 +22,5 @@ jobs:
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
publish_dir: ./out

0 comments on commit 639eefa

Please sign in to comment.