This commit is contained in:
Bruno BELANYI 2023-07-30 17:33:11 +01:00
parent c00f8ac429
commit 3538cee38f

View file

@ -17,7 +17,7 @@ matrix:
when:
evaluate: |
CI_PIPELINE_EVENT in ["push", "cron", "deployment", "manual"]
and ((CI_COMMIT_BRANCH == CI_REPO_DEFAULT_BRANCH) == ("${TYPE}" == "prod"))
and ((CI_COMMIT_BRANCH != "main") == ("${TYPE}" == "prod"))
pipeline:
- name: check