From 7badd12e602f6ee4678a687f9653a4ed88bbd8af Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Mon, 26 Jun 2023 15:42:01 -0700 Subject: [PATCH] gh-pages.yml set required permissions for deploy --- .github/workflows/gh-pages.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index df857d46..75328aba 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -7,6 +7,12 @@ on: branches: [main] workflow_dispatch: +# set permissions of GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + jobs: build: uses: janosh/workflows/.github/workflows/nodejs-gh-pages.yml@main