Skip to content

Commit

Permalink
[CD] Request permissions to push to gh-pages branch.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mikeurbach committed Feb 21, 2024
1 parent 8d0581c commit b292d5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
build-deploy:
name: Build CIRCT website
runs-on: ubuntu-latest
# Request permissions to push to gh-pages branch.
permissions:
contents: write
steps:
- uses: actions/checkout@v1

Expand Down

0 comments on commit b292d5a

Please sign in to comment.