Last active
April 13, 2017 18:04
-
-
Save pomber/3ba68bda63b37b934f4224446754b038 to your computer and use it in GitHub Desktop.
Conditional deploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deploy: | |
- provider: script | |
script: ./deploy-prod.sh | |
on: | |
all_branches: true | |
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+ | |
- provider: script | |
script: ./deploy-test.sh | |
on: | |
branch: master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment