diff --git a/.github/workflows/hugo-site-build.yml b/.github/workflows/hugo-site-build.yml index 869a4d55e..08fa31473 100644 --- a/.github/workflows/hugo-site-build.yml +++ b/.github/workflows/hugo-site-build.yml @@ -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 @@ -93,6 +90,9 @@ jobs: # Deployment job deploy: + permissions: + pages: write + id-token: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}