From 6b68a124492b9f53c1b3ded550065d7a10d24bd5 Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Sun, 19 Apr 2020 10:25:15 +0200 Subject: [PATCH] Set more conditions for releasing --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3ee271fd8..73429b6ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,7 @@ before_deploy: jobs: include: - stage: deploy + if: branch = master AND env(TRAVIS_TAG) IS present jdk: openjdk11 skip_cleanup: true script: bash scripts/deploy-webgoat.sh @@ -34,6 +35,7 @@ jobs: repo: WebGoat/WebGoat tags: true - stage: releases + if: branch = master AND env(TRAVIS_TAG) IS present jdk: openjdk11 skip_cleanup: true overwrite: true