Skip to content

Commit b292d5a

Browse files
committed
[CD] Request permissions to push to gh-pages branch.
The GITHUB_TOKEN used to have lots of privileges, but this has now been locked down, so we need to explicitly request write permission for contents to be able to push to the gh-pages branch.
1 parent 8d0581c commit b292d5a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
build-deploy:
1515
name: Build CIRCT website
1616
runs-on: ubuntu-latest
17+
# Request permissions to push to gh-pages branch.
18+
permissions:
19+
contents: write
1720
steps:
1821
- uses: actions/checkout@v1
1922

0 commit comments

Comments
 (0)