Skip to content

Commit

Permalink
added permissions to deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
neumaennl committed Dec 8, 2023
1 parent 5794d64 commit 4adefd3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
- name: Restore cache
uses: actions/cache@v3
with:
Expand All @@ -51,11 +51,14 @@ jobs:

# Deployment job
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 4adefd3

Please sign in to comment.