Update static.yml

This commit is contained in:
涵曦 2024-12-13 18:52:47 +08:00 committed by GitHub
parent 37a82e8c98
commit 92ed00f7cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 }}