From 8eb604383c643abfcdefd977b522239535d492f6 Mon Sep 17 00:00:00 2001 From: Guillaume Lazzara Date: Tue, 5 Jul 2016 16:11:50 +0200 Subject: [PATCH] Add new deploy tasks --- Rakefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Rakefile b/Rakefile index e9c354f09..7cde3d716 100644 --- a/Rakefile +++ b/Rakefile @@ -6,12 +6,28 @@ require File.expand_path('../config/application', __FILE__) Rails.application.load_tasks task :deploy do + domains = %w(37.187.249.111 149.202.72.152 149.202.198.6) + domains.each do |domain| + sh "mina deploy domain=#{domain}" + end +end + +task :deploy_ha do + domains = %w(149.202.72.152 149.202.198.6) + domains.each do |domain| + sh "mina deploy domain=#{domain}" + end +end + + +task :deploy_old do domains = %w(37.187.154.237 37.187.249.111) domains.each do |domain| sh "mina deploy domain=#{domain}" end end + task :deploy_test do domains = %w(192.168.0.116) branch = 'clamav'