We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a19da19 commit 315e563Copy full SHA for 315e563
1 file changed
.github/workflows/gh-pages.yml
@@ -27,15 +27,11 @@ defaults:
27
run:
28
shell: bash
29
30
-# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
31
-permissions:
32
- contents: read
33
- pages: write
34
- id-token: write
35
-
36
jobs:
37
# Build job
38
build:
+ permissions:
+ contents: read
39
runs-on: ubuntu-latest
40
env:
41
HUGO_VERSION: ${{ github.event.inputs.hugoVersion || '0.146.0' }}
@@ -66,6 +62,9 @@ jobs:
66
62
path: ./public
67
63
# Deployment job
68
64
deploy:
65
+ pages: write
+ id-token: write
69
environment:
70
name: github-pages
71
url: ${{ steps.deployment.outputs.page_url }}
0 commit comments