TSK-759 Fix bluemix triggered deployment when a new release is done

This commit is contained in:
Martin Rojas Miguel Angel 2018-12-12 10:04:14 +01:00 committed by Holger Hagen
parent 137634ad33
commit 0d6708c2b3
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ jobs:
- stage: "Release / Deploy"
name: "Deploy stage"
script:
- if [[ $FORCE_DEPLOY = true ]]
- if [[ $FORCE_DEPLOY = true ]];
then ci/copy-rest-spring.sh $VERSION;
else ci/copy-rest-spring.sh $TRAVIS_TAG;
fi
@ -79,4 +79,4 @@ jobs:
space: Taskana
on:
all_branches: true
if: branch = master AND ((repo = env(DEPLOY_REPO) AND tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$) OR (env(FORCE_DEPLOY) = true))
if: (repo = env(DEPLOY_REPO) AND tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$) OR (env(FORCE_DEPLOY) = true)