Skip to content

Commit b93bc1b

Browse files
authored
Made publish work on manual triggers (#76)
* Made publish work on manual triggers
1 parent 95d7eb4 commit b93bc1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
publish-to-pypi:
4040
name: >-
4141
Publish Python 🐍 distribution 📦 to PyPI
42-
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
42+
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' # only publish to PyPI on tag pushes or manual trigger
4343
needs:
4444
- build
4545
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)