mirror of
https://github.com/rommapp/docs.git
synced 2026-04-20 01:04:29 +08:00
chore: update deployment workflow permissions for GitHub Pages and OIDC authentication
This commit is contained in:
parent
6014fb09d3
commit
bf379dba67
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user