From ab9f89f42bb934b7a30fe78572b55f117f21132f Mon Sep 17 00:00:00 2001 From: Buck Doyle Date: Fri, 15 Apr 2016 09:27:57 +0200 Subject: [PATCH] Add filter for deployment of PRs only --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 94c82e62..e5aef7d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,7 +48,7 @@ notifications: # FIXME this needs refinement, obvs after_success: - - "test $EMBER_VERSION == 'default' && ember deploy prod >> deploy_output" + - "test $EMBER_VERSION == 'default' && test $TRAVIS_PULL_REQUEST && ember deploy prod >> deploy_output" - "cat deploy_output" - "cat deploy_output | grep 'revision=' | cut -d '=' -f 2 >> index_key" - "cat index_key"