Skip to content

Commit

Permalink
move permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mhzawadi committed Nov 1, 2024
1 parent 4f5b8ec commit 6cc3346
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6cc3346

Please sign in to comment.