pls dont deploy

This commit is contained in:
Lorin Werthen 2016-07-21 14:51:36 +02:00
parent d4883824c7
commit 20ef5a4460
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0
2 changed files with 1 additions and 9 deletions

View file

@ -17,4 +17,4 @@ after_success:
- mv deploy_key ~/.ssh/id_rsa - mv deploy_key ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa
- chmod +x .travis/deploy.sh - chmod +x .travis/deploy.sh
- .travis/deploy.sh - '[[ $TRAVIS_BRANCH == "master" ]] && echo "Deploying site"'

View file

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