From 18e13b40e794a0b12958b501e847973f553924f3 Mon Sep 17 00:00:00 2001 From: Olaf Lessenich Date: Wed, 3 Apr 2024 20:28:19 +0200 Subject: [PATCH] fix: permissions for deployment to gh-pages Signed-off-by: Olaf Lessenich --- .github/workflows/publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 17c6943..6dd22f6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,6 +5,12 @@ on: branches: ["master"] workflow_dispatch: +# Set permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + # Allow only one concurrent deployment # Do not cancel in progress as we want production deployments to complete. concurrency: