Commit 7f2a80e6 authored by Etienne Baqué's avatar Etienne Baqué

Fix rules for ecs jobs

parent 1c704297
...@@ -25,7 +25,9 @@ review_ecs: ...@@ -25,7 +25,9 @@ review_ecs:
when: never when: never
- if: '$REVIEW_DISABLED' - if: '$REVIEW_DISABLED'
when: never when: never
- if: '$CI_COMMIT_BRANCH != "master"' - if: '$CI_COMMIT_BRANCH == "master"'
when: never
- if: '$CI_COMMIT_TAG || $CI_COMMIT_BRANCH'
production_ecs: production_ecs:
extends: .deploy_to_ecs extends: .deploy_to_ecs
...@@ -37,4 +39,6 @@ production_ecs: ...@@ -37,4 +39,6 @@ production_ecs:
when: never when: never
- if: '$CI_KUBERNETES_ACTIVE' - if: '$CI_KUBERNETES_ACTIVE'
when: never when: never
- if: '$CI_COMMIT_BRANCH == "master"' - if: '$CI_COMMIT_BRANCH != "master"'
when: never
- if: '$CI_COMMIT_TAG || $CI_COMMIT_BRANCH'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment