chore: update deployment workflow permissions for GitHub Pages and OIDC authentication

This commit is contained in:
zurdi 2025-02-26 16:11:37 +00:00
parent 6014fb09d3
commit bf379dba67
No known key found for this signature in database
GPG Key ID: 767CE8BBDA9F73A9

View File

@ -14,9 +14,9 @@ concurrency:
cancel-in-progress: true
permissions:
contents: write
pages: write
id-token: write
contents: write # Needed to push to gh-pages
pages: write # Needed if using GitHub Pages
id-token: write # Needed for OIDC authentication (optional, for Pages API)
jobs:
deploy:
@ -25,8 +25,6 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v5