Created
July 23, 2014 17:44
-
-
Save braidn/afbad0c5cef325e37b08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if defined?(AssetSync) | |
AssetSync.configure do |config| | |
config.fog_provider = 'AWS' | |
config.fog_directory = ENV['FOG_BUCKET'] | |
config.aws_access_key_id = ENV['AWS_ACCESS_KEY_ID'] | |
config.aws_secret_access_key = ENV['AWS_SECRET_ACCESS_KEY'] | |
# Delete files from the store | |
# config.existing_remote_files = 'keep' | |
# | |
# Increase upload performance by configuring your region | |
# config.fog_region = 'us-east-1' | |
# | |
# Automatically replace files with their equivalent gzip compressed version | |
config.gzip_compression = true | |
# | |
# Fail silently. Useful for environments such as Heroku | |
# config.fail_silently = true | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment