diff --git a/.travis.yml b/.travis.yml index c5406c8eb..d9b324657 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,7 +61,7 @@ jobs: space: Taskana on: all_branches: true - if: repo = $DEPLOY_REPO AND tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ + if: repo = env(DEPLOY_REPO) AND tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ - stage: "Release / Deploy" script: - ci/release.sh lib/taskana-core $TRAVIS_TAG @@ -69,4 +69,4 @@ jobs: && ci/release.sh lib/taskana-cdi $TRAVIS_TAG && ci/release.sh web/ $TRAVIS_TAG && ci/release.sh rest/taskana-rest-spring $TRAVIS_TAG - if: repo = $DEPLOY_REPO AND (tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ OR branch = master) AND type != pull_request + if: repo = env(DEPLOY_REPO) AND (tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ OR branch = master) AND type != pull_request