Skip to content

Commit ef18160

Browse files
committed
ci: set permissions for github token
1 parent 7b509ff commit ef18160

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
branches:
66
- main
77

8+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
814
jobs:
915
build:
1016
name: Build Hugo website

0 commit comments

Comments
 (0)