diff --git a/.github/workflows/cd-pypi.yml b/.github/workflows/cd-pypi.yml index 5936ed3c..8cdd85b5 100644 --- a/.github/workflows/cd-pypi.yml +++ b/.github/workflows/cd-pypi.yml @@ -2,7 +2,7 @@ name: deployment to pypi on: release: - types: [created] + types: [published] jobs: deploy: @@ -23,4 +23,4 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python setup.py sdist bdist_wheel - twine upload dist/* \ No newline at end of file + twine upload dist/*