diff options
author | Balasankar "Balu" C <balasankar@gitlab.com> | 2017-12-28 17:40:39 +0300 |
---|---|---|
committer | Balasankar "Balu" C <balasankar@gitlab.com> | 2018-01-01 19:20:41 +0300 |
commit | 9131fb560f2d4232d4b4890baef4d926ad35a6f8 (patch) | |
tree | e4a44ef1f3ebaf9c60c9c23088f8d52e22b8baf7 | |
parent | ac35636f4ad92a2f3080af556ad8cfadf73ce977 (diff) |
Rename asset sync related AWS variables
-rw-r--r-- | config/initializers/asset_sync.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/asset_sync.rb b/config/initializers/asset_sync.rb index db8500f6231..7f3934853fa 100644 --- a/config/initializers/asset_sync.rb +++ b/config/initializers/asset_sync.rb @@ -14,8 +14,8 @@ AssetSync.configure do |config| config.fog_directory = ENV['FOG_DIRECTORY'] if ENV.has_key?('FOG_DIRECTORY') config.fog_region = ENV['FOG_REGION'] if ENV.has_key?('FOG_REGION') - config.aws_access_key_id = ENV['AWS_ACCESS_KEY_ID'] if ENV.has_key?('AWS_ACCESS_KEY_ID') - config.aws_secret_access_key = ENV['AWS_SECRET_ACCESS_KEY'] if ENV.has_key?('AWS_SECRET_ACCESS_KEY') + config.aws_access_key_id = ENV['ASSETS_AWS_ACCESS_KEY_ID'] if ENV.has_key?('ASSETS_AWS_ACCESS_KEY_ID') + config.aws_secret_access_key = ENV['ASSETS_AWS_SECRET_ACCESS_KEY'] if ENV.has_key?('ASSETS_AWS_SECRET_ACCESS_KEY') config.aws_reduced_redundancy = ENV['AWS_REDUCED_REDUNDANCY'] == true if ENV.has_key?('AWS_REDUCED_REDUNDANCY') config.rackspace_username = ENV['RACKSPACE_USERNAME'] if ENV.has_key?('RACKSPACE_USERNAME') |