Skip to content

Commit

Permalink
Add permissions to website deployment job (#4285)
Browse files Browse the repository at this point in the history
(cherry picked from commit a074f7d)
  • Loading branch information
jackkoenig authored and mergify[bot] committed Jul 19, 2024
1 parent 62106e9 commit 02da42e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ jobs:
deploy_website:
name: Deploy Website
runs-on: ubuntu-22.04
permissions:
contents: write
needs: [all_tests_passed]
# Only Deploy website on pushes to main, may change to a stable branch
if: (github.event_name == 'push') && (github.ref_name == 'main')
Expand Down

0 comments on commit 02da42e

Please sign in to comment.