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:
a1518 2026-07-02 23:34:48 -07:00
parent bea6de3767
commit 26d3717169

View File

@ -2,13 +2,14 @@ name: Deploy Docs to GitHub Pages
on: on:
push: push:
branches: [main] branches: [0.4.0, main]
paths: paths:
- 'docs/**' - 'docs/**'
- '.github/workflows/deploy-docs.yml'
workflow_dispatch: workflow_dispatch:
permissions: permissions:
contents: read contents: write
pages: write pages: write
id-token: write id-token: write