lib/vidar/config.rb in vidar-1.1.5 vs lib/vidar/config.rb in vidar-1.2.0
- old
+ new
@@ -51,10 +51,10 @@
def get!(key)
get(key) || fail(MissingConfigError, key)
end
def build_url
- value = ENV[get(:build_env).to_s]
+ value = ENV[get(:build_env).to_s] || get(:build_url)
value&.empty? ? nil : value
end
def deploy_config
deployments = get(:deployments)