From d3e041641ab5f9efd1e5cca03c0440f282a85b9e Mon Sep 17 00:00:00 2001 From: Lorin Werthen Date: Tue, 11 Oct 2016 11:01:23 +0200 Subject: [PATCH] improve travis yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cf474fe..80af088 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,4 +19,4 @@ script: after_success: - mv deploy_key ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa -- '[[ $TRAVIS_BRANCH == "master" ]] && bundle exec nanoc deploy public' +- '[[ $TRAVIS_PULL_REQUEST == "false"]] && [[ $TRAVIS_BRANCH == "master" ]] && bundle exec nanoc deploy public'