Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/docs-trigger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Trigger Docs on Tag

on:
push:
tags: ['v*']

permissions:
actions: write

jobs:
trigger-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'docs.yaml',
ref: 'master'
})
3 changes: 1 addition & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
workflow_dispatch:
push:
branches: ['master']
tags: ['v*']

permissions:
contents: read
Expand All @@ -24,7 +23,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for version detection
fetch-depth: 0 # Fetch all history for sphinx-multiversion
- name: Setup Pages
uses: actions/configure-pages@v5
- uses: astral-sh/setup-uv@v5
Expand Down