Remove unused tasks from Rakefile
This commit is contained in:
parent
77e477486c
commit
6e867bb9ee
1 changed files with 0 additions and 22 deletions
22
Rakefile
22
Rakefile
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue