diff --git a/.github/workflows/publish-release-to-pypi.yaml b/.github/workflows/publish-release-to-pypi.yaml index 2e8b5ac..3442b06 100644 --- a/.github/workflows/publish-release-to-pypi.yaml +++ b/.github/workflows/publish-release-to-pypi.yaml @@ -1,11 +1,9 @@ name: Publish Release package to Pypi.org on: - release: - types: [published] - branches: main - - + push: + branches: + - main jobs: build: if: ${{ startsWith(github.ref, 'refs/tags/') }} # only publish to test.pypi.org on tagged commits from test branch