Skip to content

Commit

Permalink
CI: only deploy on push TRAVIS_EVENT_TYPE
Browse files Browse the repository at this point in the history
Merges manubot/rootstock#184

Previously, ci/deploy.sh could be run for push, api, or cron builds,
but not for pull_request builds. This commit further restricts when
deployment is run to just push builds.
  • Loading branch information
dhimmel committed Mar 2, 2019
1 parent 717630e commit 720febe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -24,5 +24,5 @@ cache:
- ci/cache
after_success:
- test $TRAVIS_BRANCH = "master" &&
test $TRAVIS_PULL_REQUEST = "false" &&
test $TRAVIS_EVENT_TYPE = "push" &&
sh ci/deploy.sh

0 comments on commit 720febe

Please sign in to comment.