File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Trigger Docs on Tag
2+
3+ on :
4+ push :
5+ tags : ['v*']
6+
7+ permissions :
8+ actions : write
9+
10+ jobs :
11+ trigger-docs :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/github-script@v7
15+ with :
16+ script : |
17+ await github.rest.actions.createWorkflowDispatch({
18+ owner: context.repo.owner,
19+ repo: context.repo.repo,
20+ workflow_id: 'docs.yaml',
21+ ref: 'master'
22+ })
Original file line number Diff line number Diff line change 44 workflow_dispatch :
55 push :
66 branches : ['master']
7- tags : ['v*']
87
98permissions :
109 contents : read
2423 - name : Checkout
2524 uses : actions/checkout@v4
2625 with :
27- fetch-depth : 0 # Fetch all history for version detection
26+ fetch-depth : 0 # Fetch all history for sphinx-multiversion
2827 - name : Setup Pages
2928 uses : actions/configure-pages@v5
3029 - uses : astral-sh/setup-uv@v5
You can’t perform that action at this time.
0 commit comments