From 414d95a13fad30c084f7345d94381783ac986f04 Mon Sep 17 00:00:00 2001 From: Phyuany Date: Thu, 7 Nov 2024 00:59:46 +0800 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bc8ddb8..a6abd72 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,6 +5,17 @@ on: branches: - main # 监听 main 分支的 push 事件 +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow one concurrent deployment +concurrency: + group: "pages" + cancel-in-progress: true + jobs: # Build job build: