From 142ca444d31b7241d7004c27dd87eaf3c60e251f Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Thu, 13 Apr 2017 11:55:11 +0200 Subject: [PATCH] [Fix #93] Auto-deploy master after it has built --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8fb45c9c5..6d340f0ef 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -64,3 +64,7 @@ jobs: if [ "${CIRCLE_BRANCH}" == "staging" ]; then bundle exec rake deploy_ha fi + + if [ "${CIRCLE_BRANCH}" == "master" ]; then + bundle exec rake deploy_ha to=production + fi