From ce53bc52c590a4ea8a5b83968fb50d1e490354b1 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Sun, 7 Jan 2024 20:53:57 +0530 Subject: [PATCH] Modify permissions of the GITHUB_TOKEN for publishing to gh-pages --- .github/workflows/github_pages_deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/github_pages_deploy.yml b/.github/workflows/github_pages_deploy.yml index d777eea0..e1e136ef 100644 --- a/.github/workflows/github_pages_deploy.yml +++ b/.github/workflows/github_pages_deploy.yml @@ -4,6 +4,11 @@ on: branches: - 'master' +permissions: + contents: read + pages: write + id-token: write + jobs: deploy: environment: