diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index c05e1265..239a5dc6 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -42,7 +42,7 @@ jobs: url: https://pypi.org/p/kmapper permissions: id-token: write - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@v4 with: