Skip to content

Commit 355ddb7

Browse files
authoredJan 15, 2025
Allow manual python docs deploy
1 parent b70ae92 commit 355ddb7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎.github/workflows/pyhton.build_deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
on:
2+
workflow_dispatch:
23
push:
34
pull_request:
45
branches:
@@ -141,7 +142,7 @@ jobs:
141142
with:
142143
path: python-wrapper/docs/_build/html
143144
deploy_pages:
144-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
145+
if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) || github.event_name == 'workflow_dispatch'
145146
runs-on: "ubuntu-22.04"
146147
needs: build_pages
147148
permissions:
@@ -237,4 +238,4 @@ jobs:
237238
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
238239
# upload sigstore-produced signatures and certificates from dist
239240
run: |
240-
gh release upload '${{ github.ref_name }}' dist/*.sigstore.json --repo '${{ github.repository }}'
241+
gh release upload '${{ github.ref_name }}' dist/*.sigstore.json --repo '${{ github.repository }}'

0 commit comments

Comments
 (0)