Skip to content

Commit

Permalink
Made publish work on manual triggers (#76)
Browse files Browse the repository at this point in the history
* Made publish work on manual triggers
  • Loading branch information
dchansen authored Apr 24, 2024
1 parent 95d7eb4 commit b93bc1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' # only publish to PyPI on tag pushes or manual trigger
needs:
- build
runs-on: ubuntu-latest
Expand Down

0 comments on commit b93bc1b

Please sign in to comment.