Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Puma #2895

Merged
merged 15 commits into from
Oct 24, 2018
Prev Previous commit
Next Next commit
Deploy: use domains_from_env for setup
  • Loading branch information
simon lehericey committed Oct 24, 2018

Unverified

This user has not yet uploaded their public signing key.
commit e63ba1b9cbd09fd2baea8704028b1d790c61fd96
8 changes: 1 addition & 7 deletions lib/tasks/deploy.rake
Original file line number Diff line number Diff line change
@@ -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