aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-02-07 22:36:18 +0100
committerGravatar Gareth Coles <[email protected]>2018-02-07 21:36:18 +0000
commitb8aaabb8a478c4009a75c8157a194356cc63be49 (patch)
tree13fa126e768f50ef46e544ef3d184e1ad718876e /.travis.yml
parentupdate gunicorn_config (#2) (diff)
Travis master deploy (#3)
* only run deploy on master branch * indent * multiline list item
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 90ae14fd..e0efa08a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,4 +8,6 @@ install:
script:
- snekchek
after_success:
- "curl $AUTODEPLOY_WEBHOOK -H \"token: $AUTODEPLOY_TOKEN\"" \ No newline at end of file
+ - |
+ test $TRAVIS_BRANCH = "master" &&
+ "curl $AUTODEPLOY_WEBHOOK -H \"token: $AUTODEPLOY_TOKEN\""