adds deploy secrets to staging and production envs
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
def deploysecret(key)
|
||||||
|
@deploy_secrets_yml ||= YAML.load_file('config/deploy-secrets.yml')['production']
|
||||||
|
@deploy_secrets_yml[key.to_s]
|
||||||
|
end
|
||||||
|
|
||||||
Rails.application.configure do
|
Rails.application.configure do
|
||||||
# Settings specified here will take precedence over those in config/application.rb.
|
# Settings specified here will take precedence over those in config/application.rb.
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
def deploysecret(key)
|
||||||
|
@deploy_secrets_yml ||= YAML.load_file('config/deploy-secrets.yml')['staging']
|
||||||
|
@deploy_secrets_yml[key.to_s]
|
||||||
|
end
|
||||||
|
|
||||||
Rails.application.configure do
|
Rails.application.configure do
|
||||||
# Settings specified here will take precedence over those in config/application.rb.
|
# Settings specified here will take precedence over those in config/application.rb.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user