Skip to content

Commit 94ee80b

Browse files
committed
💚 add write permission for github pages deployment
1 parent 89cdea2 commit 94ee80b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
# .github/workflows/deploy-docs.yml
21
name: Deploy Docusaurus Site
32

43
on:
54
push:
65
branches:
76
- main
87

8+
# Add permissions block
9+
permissions:
10+
contents: write # This allows the action to create and push to gh-pages
11+
912
jobs:
1013
deploy:
1114
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)