diff --git a/Rakefile b/Rakefile index f6261c343..f7a26ddaf 100644 --- a/Rakefile +++ b/Rakefile @@ -4,10 +4,3 @@ require File.expand_path('config/application', __dir__) Rails.application.load_tasks - -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 diff --git a/lib/tasks/deploy_ha.rake b/lib/tasks/deploy_ha.rake new file mode 100644 index 000000000..492b4742b --- /dev/null +++ b/lib/tasks/deploy_ha.rake @@ -0,0 +1,6 @@ +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