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/'