From d61f2a6aac7bb00e3026da75c0e58ffd2133f040 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Fri, 14 Jun 2024 15:49:11 +0200
Subject: [PATCH] add rules to allow call from upstream pipeline

---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d57b988..24d2bb5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,6 +5,8 @@ image: docker:24
 build:
   except:
     - base-common
+  rules:
+    - when: on_success
   stage: build
   needs: []
   before_script:
@@ -33,6 +35,8 @@ build:
 .deploy:
   except:
     - base-common
+  rules:
+    - when: on_success
   stage: deploy
   needs:
     - "build"
-- 
GitLab