From 5f04ac7518bdc0fd1a202ca85d41ab5ae32ecfcf Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Thu, 13 Jun 2024 14:46:09 +0200
Subject: [PATCH] use base-common as ancestor branch

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 598d763..0344cfb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,8 +3,8 @@ image: docker:24
 
 
 build:
-  rules:
-    - if:  '$CI_COMMIT_REF_SLUG =~ /^base-/i'
+  except:
+    - base-common
   stage: build
   needs: []
   before_script:
@@ -32,7 +32,7 @@ build:
 
 .deploy:
   except:
-    - main
+    - base-common
   stage: deploy
   needs:
     - "build"
@@ -104,7 +104,7 @@ deploy-example:
 
 delete-example:
   except:
-    - main
+    - base-common
   stage: deploy
   needs: []
   when: manual
-- 
GitLab