From c254c439aa3dc20cc430fdd699f77906880067b5 Mon Sep 17 00:00:00 2001 From: Michael Blaschek <michael.blaschek@univie.ac.at> Date: Mon, 23 Jan 2023 16:14:30 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2094631..a55ceaf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,16 +9,17 @@ cache: - paths: - .cache/pip - stages: - build - deploy build: + stage: build + rules: # only run pipeline when build is in the commit message - if: $CI_COMMIT_MESSAGE =~ /.*build.*/ - stage: build + - if: $MY_VARIABLE before_script: # Install all required packages -- GitLab