2016-07-18 14:27:38 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2016-07-18 14:31:22 +02:00
|
|
|
if [[ $TRAVIS_BRANCH == 'master' ]]; then
|
2016-07-18 14:35:09 +02:00
|
|
|
echo "Deploying site..."
|
2016-07-18 14:27:38 +02:00
|
|
|
bundle exec nanoc deploy --target public
|
2016-07-18 14:35:09 +02:00
|
|
|
else
|
|
|
|
echo "Not deploying."
|
2016-07-18 14:27:38 +02:00
|
|
|
fi
|