From 71adce419933137545e157207f9f80f9f56ce606 Mon Sep 17 00:00:00 2001 From: Ivan Lieckens Date: Thu, 1 Aug 2024 11:14:03 +0200 Subject: [PATCH] Fix pages release permissions issue (#2) ## Description / Motivation GitHub Pages release of docs is failing due to missing permissions. This adds the missing permissions to the job in the workflow. ## Testing - [X] The Unit & Intergration tests are passing. - [X] I have added the necesary tests to cover my changes. ## Terms - [X] I agree to follow this project's [Code of Conduct](CODE_OF_CONDUCT.md). Co-authored-by: Ivan Lieckens --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c6e7a88..525d409 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,6 +62,8 @@ jobs: core.info('Uploaded ' + name); } publish-docs: + permissions: + id-token: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}