From 77ac2e4513c7219a753bafbfea2903b267f2ec18 Mon Sep 17 00:00:00 2001 From: Pokorny Martin Date: Sun, 17 Dec 2023 21:39:07 +0100 Subject: [PATCH] gh-pages fix --- .github/workflows/createBundle.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/createBundle.yml b/.github/workflows/createBundle.yml index 9e93c3e..5e6dfa3 100644 --- a/.github/workflows/createBundle.yml +++ b/.github/workflows/createBundle.yml @@ -9,6 +9,12 @@ on: release: types: [published] +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Release @@ -366,6 +372,9 @@ jobs: # inspired by https://nimblehq.co/blog/create-github-wiki-pull-request publish-help: # if: github.event_name == 'release' + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} name: Publish help runs-on: ubuntu-20.04 needs: tests