diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 275da1b..80f04b2 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -1,8 +1,9 @@ name: Publish Python distributions to PyPI and TestPyPI on: - release: - types: [published] + push: + tags: + - '*' jobs: build-and-publish: