Skip to content

Commit 052e91b

Browse files
committed
fix(ci): grant contents:write to deploy-pages for GitHub Pages push
The workflow-level contents:read blocked peaceiris/actions-gh-pages from pushing the built static site to the gh-pages branch. Setting it to write allows release uploads and Pages deployment.
1 parent cd10055 commit 052e91b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ jobs:
364364
needs: [package-arch-pkgbuild]
365365
runs-on: ubuntu-latest
366366
permissions:
367-
contents: read
367+
contents: write
368368
pages: write
369369
id-token: write
370370
environment:

0 commit comments

Comments
 (0)