Merge pull request #1019 from nickhammond/ENV/destination
Set KAMAL_DESTINATION when loading config
This commit is contained in:
@@ -20,6 +20,8 @@ class Kamal::Configuration
|
||||
|
||||
class << self
|
||||
def create_from(config_file:, destination: nil, version: nil)
|
||||
ENV["KAMAL_DESTINATION"] = destination
|
||||
|
||||
raw_config = load_config_files(config_file, *destination_config_file(config_file, destination))
|
||||
|
||||
new raw_config, destination: destination, version: version
|
||||
|
||||
Reference in New Issue
Block a user