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