Skip to content

Commit

Permalink
fix: Add permissions to deploy to github pages (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari authored Oct 9, 2024
1 parent fb24a65 commit dc8da44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/hugo-site-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ defaults:
jobs:
# Build job
build:
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.124.1
Expand Down Expand Up @@ -93,6 +90,9 @@ jobs:

# Deployment job
deploy:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit dc8da44

Please sign in to comment.