From a42707c7f41fc0ce8d6a6b0e70f602c5ba04e359 Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Thu, 18 Jul 2024 16:46:44 -0700 Subject: [PATCH] Add permissions to website deployment job --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f606f5358ca..4cc4074f3da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,6 +100,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')