[Fix #93] Auto-deploy master after it has built

This commit is contained in:
gregoirenovel 2017-04-13 11:55:11 +02:00
parent 8852431efe
commit 142ca444d3

View file

@ -64,3 +64,7 @@ jobs:
if [ "${CIRCLE_BRANCH}" == "staging" ]; then if [ "${CIRCLE_BRANCH}" == "staging" ]; then
bundle exec rake deploy_ha bundle exec rake deploy_ha
fi fi
if [ "${CIRCLE_BRANCH}" == "master" ]; then
bundle exec rake deploy_ha to=production
fi