From 516860c92ee97f22fec0a77ddf11f836fb6073e2 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Thu, 20 Sep 2018 11:20:57 +0200 Subject: [PATCH] =?UTF-8?q?deploy=5Fha=20=E2=86=92=20deploy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 4 ++-- lib/tasks/{deploy_ha.rake => deploy.rake} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename lib/tasks/{deploy_ha.rake => deploy.rake} (86%) diff --git a/.circleci/config.yml b/.circleci/config.yml index baba1cf04..9955ed5da 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -104,11 +104,11 @@ jobs: - deploy: command: | if [ "${CIRCLE_BRANCH}" == "dev" ]; then - bundle exec rake deploy_ha + bundle exec rake deploy fi if [ "${CIRCLE_BRANCH}" == "master" ]; then - bundle exec rake deploy_ha to=production + bundle exec rake deploy to=production fi workflows: diff --git a/lib/tasks/deploy_ha.rake b/lib/tasks/deploy.rake similarity index 86% rename from lib/tasks/deploy_ha.rake rename to lib/tasks/deploy.rake index 492b4742b..e111efa73 100644 --- a/lib/tasks/deploy_ha.rake +++ b/lib/tasks/deploy.rake @@ -1,4 +1,4 @@ -task :deploy_ha do +task :deploy do domains = %w(149.202.72.152 149.202.198.6) domains.each do |domain| sh "mina deploy domain=#{domain}"