[Fix #93] Auto-deploy master after it has built
This commit is contained in:
parent
8852431efe
commit
142ca444d3
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue