Merge pull request #511 from mbrobbel/fix-book-deploy-permissions

Add required book deploy permissions and add concurrency group
This commit is contained in:
Niko Matsakis 2024-07-22 09:26:27 +00:00 committed by GitHub
commit 0186e6696a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: