ci: fix jobs always running when previous stage failed
- future note: do not add `when: always`, it runs literarly always - not a surprise, but actually is
This commit is contained in:
parent
bdb17ba397
commit
779c5aae0e
1 changed files with 0 additions and 4 deletions
|
|
@ -53,7 +53,6 @@ deploy to staging (dry-run):
|
||||||
./charts/backoffice
|
./charts/backoffice
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == "main"
|
- if: $CI_COMMIT_BRANCH == "main"
|
||||||
when: always
|
|
||||||
|
|
||||||
deploy to production (dry-run):
|
deploy to production (dry-run):
|
||||||
stage: deploy:dry-run
|
stage: deploy:dry-run
|
||||||
|
|
@ -80,7 +79,6 @@ deploy to production (dry-run):
|
||||||
./charts/backoffice
|
./charts/backoffice
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == "production"
|
- if: $CI_COMMIT_BRANCH == "production"
|
||||||
when: always
|
|
||||||
|
|
||||||
deploy to staging:
|
deploy to staging:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
|
@ -109,7 +107,6 @@ deploy to staging:
|
||||||
url: https://staging.backoffice.mareshq.com
|
url: https://staging.backoffice.mareshq.com
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == "main"
|
- if: $CI_COMMIT_BRANCH == "main"
|
||||||
when: always
|
|
||||||
|
|
||||||
deploy to production:
|
deploy to production:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
|
@ -138,4 +135,3 @@ deploy to production:
|
||||||
url: https://backoffice.mareshq.com
|
url: https://backoffice.mareshq.com
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == "production"
|
- if: $CI_COMMIT_BRANCH == "production"
|
||||||
when: always
|
|
||||||
|
|
|
||||||
Reference in a new issue