Skip to content

Commit bd623c4

Browse files
authored
Add write permissions when pushing
I think contents:write is needed, not pages:write, because the job pushes new commits to the gh-pages branch.
1 parent 5b7e8b3 commit bd623c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
push:
88
branches: [master]
99

10+
# We push new commits to the gh-pages branch.
11+
permissions:
12+
contents: write
13+
1014
jobs:
1115
ghp-import:
1216
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)