enhance deploy script

This commit is contained in:
Lorin Werthen 2016-07-18 14:35:09 +02:00
parent 93f1d78c53
commit 6daef7e15e

View file

@ -1,5 +1,8 @@
#!/bin/bash #!/bin/bash
if [[ $TRAVIS_BRANCH == 'master' ]]; then if [[ $TRAVIS_BRANCH == 'master' ]]; then
echo "Deploying site..."
bundle exec nanoc deploy --target public bundle exec nanoc deploy --target public
else
echo "Not deploying."
fi fi