From 97402d18fcd2c0edd0fc8cb4ab402a9582736bba Mon Sep 17 00:00:00 2001 From: Matthijs Brobbel Date: Mon, 24 Jun 2024 09:47:26 +0200 Subject: [PATCH] Add required book deploy permissions and add concurrency group --- .github/workflows/book.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index f0106c0..f3cabab 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -40,6 +40,13 @@ jobs: runs-on: ubuntu-latest needs: book if: github.event_name == 'push' && github.ref == 'refs/heads/master' + concurrency: + group: github-pages + cancel-in-progress: true + permissions: + contents: read + pages: write + id-token: write steps: - uses: actions/download-artifact@v4 with: