Skip to content

Commit

Permalink
Update step condition in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Jul 14, 2023
1 parent 69ae8ba commit 4982a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down

0 comments on commit 4982a70

Please sign in to comment.