Remove unused tasks from Rakefile

This commit is contained in:
gregoirenovel 2018-09-20 11:17:34 +02:00
parent 77e477486c
commit 6e867bb9ee

View file

@ -13,31 +13,9 @@ task :lint do
sh "yarn lint:js" sh "yarn lint:js"
end end
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 task :deploy_ha do
domains = %w(149.202.72.152 149.202.198.6) domains = %w(149.202.72.152 149.202.198.6)
domains.each do |domain| domains.each do |domain|
sh "mina deploy domain=#{domain}" sh "mina deploy domain=#{domain}"
end end
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'
domains.each do |domain|
sh "mina deploy domain=#{domain} branch=#{branch}"
end
end