From ef2c0d2aeccb363e755a5d45fd84cf709c5f7686 Mon Sep 17 00:00:00 2001 From: James Woffinden-Luey <90423712+jluey1@users.noreply.github.com> Date: Wed, 11 Sep 2024 15:29:05 -0700 Subject: [PATCH] Update deploy.yml updating permissions --- .github/workflows/deploy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bc01261..bb3c6e6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -38,6 +38,14 @@ jobs: deploy: name: Deploy to GitHub Pages needs: build + + # Grant GITHUB_TOKEN the permissions required to make a Pages deployment + permissions: + pages: write # to deploy to Pages + pull-requests: write + deployments: write + id-token: write # to verify the deployment originates from an appropriate source + runs-on: ubuntu-latest steps: - name: Deploy to GitHub Pages