diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml index 2cfb661..ec1a14f 100644 --- a/.github/workflows/github-pages.yaml +++ b/.github/workflows/github-pages.yaml @@ -14,6 +14,17 @@ on: env: CARGO_TERM_COLOR: always +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow one concurrent deployment +concurrency: + group: "pages" + cancel-in-progress: true + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build"