Skip to content

Commit 31a70aa

Browse files
committed
fix(pages): add permissions
1 parent 4fe7f42 commit 31a70aa

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ name: Build and Publish storybook to GitHub Pages
33
on:
44
push:
55
branches:
6-
- "main"
6+
- "main" # change to the branch you wish to deploy from
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
713
jobs:
814
deploy:
915
environment:

0 commit comments

Comments
 (0)