Improving deploy.yml / permission bump

This commit is contained in:
niclaz 2024-09-05 23:04:15 +02:00 committed by GitHub
parent 027fc09f5b
commit 2e83facca8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,8 +14,8 @@ on:
# Allow this job to clone the repo and create a page deployment
permissions:
actions: read
contents: read
actions: write
contents: write
pages: write
id-token: write
@ -60,6 +60,7 @@ jobs:
deploy:
needs: build
permissions:
actions: write
contents: read
pages: write
id-token: write
@ -70,4 +71,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action
uses: actions/deploy-pages@v4