Fix GitHub Pages deploy workflow permissions and branch trigger
- Change trigger branch from main to 0.4.0 - Upgrade contents permission from read to write for gh-pages push - Also trigger on workflow file changes Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
bea6de3767
commit
26d3717169
5
.github/workflows/deploy-docs.yml
vendored
5
.github/workflows/deploy-docs.yml
vendored
@ -2,13 +2,14 @@ name: Deploy Docs to GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: [0.4.0, main]
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- '.github/workflows/deploy-docs.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
contents: write
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user