From e0c1b96370cad6af97e541d97a2896729d1c261d Mon Sep 17 00:00:00 2001 From: Bart Jaskulski <bjaskulski@protonmail.com> Date: Fri, 6 Dec 2024 13:47:34 +0100 Subject: [PATCH] fix: somehow it runs even if job failed Signed-off-by: Bart Jaskulski <bjaskulski@protonmail.com> --- includes/deploy/demo.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/deploy/demo.yml b/includes/deploy/demo.yml index a1605a5..3356941 100644 --- a/includes/deploy/demo.yml +++ b/includes/deploy/demo.yml @@ -6,7 +6,7 @@ deploy:demo: stage: deploy tags: - deploy - needs: + depencencies: - build to deploy retry: 2 parallel: @@ -17,6 +17,7 @@ deploy:demo: - demo.octolize.com - stage.demo.octolize.com - demo.flexibleinvoices.com + when: on_success rules: - if: $IS_LIBRARY || $IS_NPM_LIBRARY when: never -- GitLab