diff --git a/.github/workflows/python.build_deploy.yml b/.github/workflows/python.build_deploy.yml index 5f5c8f6..d1ef8f7 100644 --- a/.github/workflows/python.build_deploy.yml +++ b/.github/workflows/python.build_deploy.yml @@ -1,4 +1,5 @@ on: + workflow_dispatch: push: pull_request: branches: @@ -141,7 +142,7 @@ jobs: with: path: python-wrapper/docs/_build/html deploy_pages: - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) || github.event_name == 'workflow_dispatch' runs-on: "ubuntu-22.04" needs: build_pages permissions: @@ -237,4 +238,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # upload sigstore-produced signatures and certificates from dist run: | - gh release upload '${{ github.ref_name }}' dist/*.sigstore.json --repo '${{ github.repository }}' \ No newline at end of file + gh release upload '${{ github.ref_name }}' dist/*.sigstore.json --repo '${{ github.repository }}'