From 4982a70bb0b82a66ecfbbe2f5760ecab106c58f7 Mon Sep 17 00:00:00 2001 From: diegoferigo Date: Fri, 14 Jul 2023 09:28:04 +0200 Subject: [PATCH] Update step condition in CI --- .github/workflows/ci_cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__