diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-09 22:13:32 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-09 22:13:32 +0800 |
| commit | 4405e60b502f3ade5ff5deac12eb9ec16b6faef2 (patch) | |
| tree | d17b75a2914785e621a5022c766396532bc9101f /.github/workflows/ci.yml | |
| parent | 5b5b99fccec4db3218a5d83a6e9a27d2514e1d54 (diff) | |
ci: add deploy permissions and upgrade deploy-pages to v5
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ff16cb..faa513a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,6 +62,10 @@ jobs: Deploy-Github-Pages: needs: [Move-Unreleased-Tag] + permissions: + contents: read + pages: write + id-token: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -77,4 +81,4 @@ jobs: path: "." - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 |
