Skip to content

Commit

Permalink
Only do releases and Docker updates when building master
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaars committed Jun 20, 2018
1 parent ad77a7a commit 699b1bf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@ deploy:
on:
repo: WebGoat/WebGoat
tags: true
- provider: script
skip_cleanup: true
script: bash scripts/deploy-webgoat.sh
on:
repo: WebGoat/WebGoat
branch: develop
branch: master
- provider: releases
skip_cleanup: true
overwrite: true
Expand All @@ -45,6 +40,7 @@ deploy:
on:
repo: WebGoat/WebGoat
tags: true
branch: master
env:
global:
#Docker login
Expand Down

0 comments on commit 699b1bf

Please sign in to comment.