diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 88247cc5..ec8df3c5 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -1,6 +1,9 @@ name: Publish to PyPI -on: workflow_dispatch +on: + release: + types: [published] + workflow_dispatch: jobs: build-n-publish: