Skip to content

Commit 407e3fc

Browse files
authored
ci: add permissions to deploy to gh pages
1 parent bb045ba commit 407e3fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ name: Build and deploy an updated version of the website
33
on:
44
[push, pull_request]
55

6+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
612
env:
713
MDBOOK_LINKCHECK_VER: 0.7.4
814

0 commit comments

Comments
 (0)