Skip to content

Commit 97402d1

Browse files
committed
Add required book deploy permissions and add concurrency group
1 parent a1bf3a6 commit 97402d1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/book.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ jobs:
4040
runs-on: ubuntu-latest
4141
needs: book
4242
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
43+
concurrency:
44+
group: github-pages
45+
cancel-in-progress: true
46+
permissions:
47+
contents: read
48+
pages: write
49+
id-token: write
4350
steps:
4451
- uses: actions/download-artifact@v4
4552
with:

0 commit comments

Comments
 (0)