diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index f9caaf3..b16d423 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -14,10 +14,6 @@ jobs: build: runs-on: ubuntu-latest # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages - permissions: - contents: write - pages: write - id-token: write strategy: matrix: node-version: [22.x] @@ -63,6 +59,10 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: Deploy to GitHub Pages id: deployment