From bf379dba67c056f26486643166ca702899aba60b Mon Sep 17 00:00:00 2001 From: zurdi Date: Wed, 26 Feb 2025 16:11:37 +0000 Subject: [PATCH] chore: update deployment workflow permissions for GitHub Pages and OIDC authentication --- .github/workflows/deploy.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b52bdce..325ea58 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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