From a8999c8ce6218957cb8c797bde976355cc2dc9e1 Mon Sep 17 00:00:00 2001
From: Maxence Naud <maxence.naud@cea.fr>
Date: Sun, 15 Dec 2024 00:26:50 +0000
Subject: [PATCH] Update rules.gitlab-ci.yml allow manual release for 'dev'
 branch

---
 .gitlab/ci/rules.gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml
index a1d1de9..e47a93b 100644
--- a/.gitlab/ci/rules.gitlab-ci.yml
+++ b/.gitlab/ci/rules.gitlab-ci.yml
@@ -33,6 +33,9 @@
       when: always
     - if: $CI_COMMIT_TAG 
       when: always
+    - if: $CI_PIPELINE_SOURCE == "web" && $CI_COMMIT_BRANCH == "dev"  # Manual trigger only on dev branch
+      when: manual
+      allow_failure: false
   when: manual
   allow_failure: false
 
-- 
GitLab