From c218052556db5a849f907bb2c64028a87ad60501 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Mon, 27 Jun 2016 00:47:59 +0200 Subject: [PATCH] try to simplify stuff --- .gitlab-ci.yml | 1 + deploy.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d16119..0a1c8c6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,6 +56,7 @@ staging: - develop variables: ENVIRON: staging + TARGET: $WWW_DEPLOY_ROOT_STAGING production: stage: deploy diff --git a/deploy.sh b/deploy.sh index 1f954e3..5b9f877 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,6 +1,6 @@ #!/bin/sh -echo "Stage: ${CI_BUILD_STAGE}" +echo "Target: ${TARGET}" if [ "develop" == "${ENVIRON}" ] ; then echo "Deploying ${CI_BUILD_REF_NAME} to develop. You can access it at .../${CI_BUILD_REF_NAME}" target="${WWW_DEPLOY_ROOT_DEVELOP}/${CI_BUILD_REF_NAME}"