Skip to content

Commit

Permalink
add missing permission to deploy to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
acouvreur committed Oct 20, 2024
1 parent 30d1055 commit 4d04d91
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,19 @@ jobs:

# Deployment job
deploy:
needs: build

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
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 4d04d91

Please sign in to comment.