diff --git a/.github/workflows/build-Antora-doc.yml b/.github/workflows/build-Antora-doc.yml index 67a675f0f..f0e918540 100644 --- a/.github/workflows/build-Antora-doc.yml +++ b/.github/workflows/build-Antora-doc.yml @@ -7,6 +7,12 @@ on: push: branches: [ main ] +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} cancel-in-progress: true @@ -90,4 +96,4 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./Vulkan-Site/docs-site/build/site \ No newline at end of file + publish_dir: ./Vulkan-Site/docs-site/build/site