Skip to content

Commit 0a8db34

Browse files
authored
allow write to publish github pages (#279)
1 parent f626140 commit 0a8db34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
environment: release
1717
permissions:
1818
id-token: write # This is required for requesting the JWT
19-
contents: read # This is required for actions/checkout
19+
contents: write # This is required for actions/checkout and actions-gh-pages
2020

2121
runs-on: ubuntu-latest
2222
steps:
@@ -68,7 +68,7 @@ jobs:
6868
shell: bash
6969

7070
- name: Publish docs
71-
uses: peaceiris/actions-gh-pages@v3
71+
uses: peaceiris/actions-gh-pages@v4
7272
with:
7373
github_token: ${{ secrets.GITHUB_TOKEN }}
7474
publish_dir: "./docs/_build/html"

0 commit comments

Comments
 (0)