diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 6009fda..4468ead 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -174,7 +174,7 @@ jobs: if: | github.repository == 'ami-iit/rod' && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || - (github.event_name == 'release')) + (github.event_name == 'release' && github.event.action == 'published')) uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__