I am using semantic release in my pipeline.
if semantic release creates a new version:
1. create a new docker image
2. deploy to QA environment
My problem is that I dont know how to stop step 2 from happening. I can avoid the deployment if in the script adding a check, but the step will have been executed and it will look in the deployment section that a new deployment has been perform.
I tried with a "condition", but it is not good, because my rules to deploy can not be defined with a simple changeset.
My only current idea is to use tags to handle the deploys.
Any other suggestions.