diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 0def3c54..2d164556 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -2,8 +2,7 @@ name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI on: release: - types: - - created + types: [published] jobs: build-and-publish-to-pypi: