Deploy: use domains_from_env for setup
This commit is contained in:
parent
47697c5881
commit
e63ba1b9cb
1 changed files with 1 additions and 7 deletions
|
@ -19,14 +19,8 @@ task :deploy do
|
|||
end
|
||||
|
||||
task :setup do
|
||||
domains = ['web1', 'web2']
|
||||
domains.each do |domain|
|
||||
sh "mina setup domain=#{domain} force_asset_precompile=true"
|
||||
end
|
||||
end
|
||||
domains = domains_from_env(ENV['STAGE'])
|
||||
|
||||
task :setup_dev do
|
||||
domains = ['web1.dev', 'web2.dev']
|
||||
domains.each do |domain|
|
||||
sh "mina setup domain=#{domain} force_asset_precompile=true"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue