Deploy environment files were loaded after config/deploy.rb was loaded, meaning if we used settings like `deploy_to` or `current_path` to set variables inside the config/deploy.rb file, we'd be using the default settings instead of the ones dictated by the deploy environment files.
4 lines
132 B
Ruby
4 lines
132 B
Ruby
set :branch, ENV["branch"] || :master
|
|
|
|
server deploysecret(:server), user: deploysecret(:user), roles: %w[web app db importer cron]
|