From 0e774e80a2973089b570fb8ebc040f5df85ede5b Mon Sep 17 00:00:00 2001 From: Akari <60416767+MotooriKashin@users.noreply.github.com> Date: Wed, 31 Jul 2024 15:36:02 +0800 Subject: [PATCH] Update github-pages.yml --- .github/workflows/github-pages.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 0e124bb..92b3be6 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -18,6 +18,10 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: deploy: + permissions: + contents: read + pages: write + id-token: write environment: name: github-pages url: ${{steps.deployment.outputs.page_url}} @@ -41,7 +45,7 @@ jobs: run: npm run github-pages - name: Upload Artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v4 with: # upload entire directory path: './src/docs/'