From 3326875b7e4f8edde22e8e43b85651355edcc9de Mon Sep 17 00:00:00 2001
From: Michael Blaschek <michael.blaschek@univie.ac.at>
Date: Wed, 1 Feb 2023 12:30:56 +0000
Subject: [PATCH] Update .gitlab-ci.yml file

---
 .gitlab-ci.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 64b3be4..35332a7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,11 +15,7 @@ stages:
 
 build:
     stage: build
-
-    rules:
-        # only run pipeline when build is in the commit message
-        - if: $CI_COMMIT_MESSAGE =~ /.*build.*/
-        - if: $MY_VARIABLE
+    when: manual
 
     before_script:
         # Install all required packages
@@ -37,6 +33,7 @@ build:
 
 deploy:
     stage: deploy
+    when: manual
     needs:
         - build
     before_script:
-- 
GitLab