Set more conditions for releasing
This commit is contained in:
parent
27bf08ad5c
commit
6b68a12449
@ -27,6 +27,7 @@ before_deploy:
|
|||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
|
if: branch = master AND env(TRAVIS_TAG) IS present
|
||||||
jdk: openjdk11
|
jdk: openjdk11
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
script: bash scripts/deploy-webgoat.sh
|
script: bash scripts/deploy-webgoat.sh
|
||||||
@ -34,6 +35,7 @@ jobs:
|
|||||||
repo: WebGoat/WebGoat
|
repo: WebGoat/WebGoat
|
||||||
tags: true
|
tags: true
|
||||||
- stage: releases
|
- stage: releases
|
||||||
|
if: branch = master AND env(TRAVIS_TAG) IS present
|
||||||
jdk: openjdk11
|
jdk: openjdk11
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user