mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.34k stars 491 forks source link

Update configuration.rb #616

Closed haibor closed 2 years ago

haibor commented 6 years ago

when ENV["user"] exited, deploy.rb set :user, 'foobar' is not work。。。。 ,but I hope set :user, 'foobar' ,is first

lovro-bikic commented 2 years ago

Hi, thanks for the PR. However, this change would break a feature which allows you to override Mina-set variables with environment variables. I understand that this feature causes issues so we'll fix it in 2.0.0 once we find a better way to override variables in CLI. You can follow the issue https://github.com/mina-deploy/mina/issues/675 for updates.