Skip to content

Commit d2fd37d

Browse files
committed
Allow PyPI publish on manual workflow dispatch
1 parent be5a90d commit d2fd37d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9090

9191
- name: Publish to PyPI
92-
if: startsWith(github.ref, 'refs/tags/')
92+
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
9393
uses: pypa/gh-action-pypi-publish@release/v1
9494
with:
9595
verbose: true

0 commit comments

Comments
 (0)