improve travis yml

This commit is contained in:
Lorin Werthen 2016-10-11 11:01:23 +02:00
parent f7b95ca7d2
commit d3e041641a

View file

@ -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'