From b398e964ac68aa2aabc2cb40bb9a50940c8b3d78 Mon Sep 17 00:00:00 2001
From: "sebastien.heurtematte" <sebastien.heurtematte@eclipse-foundation.org>
Date: Tue, 8 Nov 2022 10:23:45 +0100
Subject: [PATCH] feat: test deploy stage

Signed-off-by: sebastien.heurtematte <sebastien.heurtematte@eclipse-foundation.org>
---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9c34c8c..5f0479f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -242,6 +242,7 @@ build-docs:
           </manifest>
           __EOM__
     # Or when things land.
+    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
     - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
 
 deploy:
@@ -274,4 +275,5 @@ deploy:
         echo "Nothing new to commit.";
       fi
   rules:
+    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
     - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
-- 
GitLab