From 05d6452ed3d3ec111d42fc3d44ad81bf7ac1d650 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Fri, 12 Apr 2024 16:07:56 +0200
Subject: [PATCH] update ci

---
 .gitlab-ci.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fb77763a..4fc5ad36 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -413,14 +413,12 @@ set-meili-env:prod:
   artifacts:
     paths:
       - zot-articles.json
-  rules:
-    - if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "dev"
 
 sync-zotero:dev:
   extends: .sync-zotero
   when: manual
   rules:
-    - if: $CI_COMMIT_BRANCH == "dev"
+    - if: $CI_COMMIT_BRANCH != "main"
 
 sync-zotero:prod:
   extends: .sync-zotero
-- 
GitLab