Merge pull request #95 from sgmap/auto-deploy-master

[Fix #93] Auto-deploy master after it has built
This commit is contained in:
Mathieu Magnin 2017-04-13 14:13:43 +02:00 committed by GitHub
commit 3e41c648a2

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