diff --git a/.travis.yml b/.travis.yml index 2ae0668..42d3381 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,4 @@ after_success: - mv deploy_key ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - chmod +x .travis/deploy.sh -- .travis/deploy.sh +- '[[ $TRAVIS_BRANCH == "master" ]] && echo "Deploying site"' diff --git a/.travis/deploy.sh b/.travis/deploy.sh deleted file mode 100644 index b2ec0e1..0000000 --- a/.travis/deploy.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -if [[ $TRAVIS_BRANCH == 'master' ]]; then - echo "Deploying site..." - bundle exec nanoc deploy --target public -else - echo "Not deploying." -fi