Skip to content

Commit

Permalink
deploy workflow: fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
pabzm committed Oct 16, 2024
1 parent ffa65ae commit b0d3044
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ jobs:

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

0 comments on commit b0d3044

Please sign in to comment.