From 506a1d15a1b171b4a90b81a65a8fba7eecd20c71 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 23 Jun 2020 18:33:49 +0200 Subject: [PATCH] Fixing .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5eefc2f..af93e51 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,8 +44,8 @@ variables: - pip install --upgrade --upgrade-strategy eager --requirement requirements.txt - pip list --format columns - if [ -x bin/compile-xlate-msgs.sh ] ; then bin/compile-xlate-msgs.sh; fi - - if [ "$CI_COMMIT_REF_NAME" = 'master' ] ; then SYSTEM_STATUS="production"; elif [ "$CI_COMMIT_REF_NAME" = 'test' ] ; then SYSTEM_STATUS="testing"; else SYSTEM_STATUS="development"; fi - - echo "System status: ${SYSTEM_STATUS}" + - 'if [ "$CI_COMMIT_REF_NAME" = "master" ] ; then SYSTEM_STATUS="production"; elif [ "$CI_COMMIT_REF_NAME" = "test" ] ; then SYSTEM_STATUS="testing"; else SYSTEM_STATUS="development"; fi' + - 'echo "System status: ${SYSTEM_STATUS}"' tags: - deploy after_script: -- 2.39.5