ci: fix permissions

This commit is contained in:
Matteo Bernardini
2025-09-03 12:06:49 +08:00
committed by Lars Immisch
parent 5eed8adfe5
commit 6acae81487

View File

@@ -4,6 +4,10 @@ on:
branches:
- main
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
@@ -23,6 +27,10 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}