Skip to content

Commit 25e80f6

Browse files
committed
write permission for gh-pages branch
1 parent 2b45660 commit 25e80f6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ on:
66
- main
77
paths:
88
- 'docs/**' # This correctly triggers the workflow only when docs changes
9+
- '.github/workflows/deploy-docs.yml'
910
workflow_dispatch:
1011

12+
# Add this permissions block
13+
permissions:
14+
contents: write
15+
1116
jobs:
1217
build_and_deploy:
1318
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)