From 92ed00f7ccc90a53320c906fb1028e2b5f4a51cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Fri, 13 Dec 2024 18:52:47 +0800 Subject: [PATCH] Update static.yml --- .github/workflows/static.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 1b9a3e7..30157f8 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -16,7 +16,7 @@ on: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: - contents: read + contents: write pages: write id-token: write @@ -29,8 +29,6 @@ concurrency: jobs: # Single deploy job since we're just deploying deploy: - permissions: - contents: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}