octopress / deploy

Deployment for Octopress and Jekyll blogs.
MIT License
75 stars 23 forks source link

Thanks for the PR, but you actually don't need to use ERB for your S3 keys. Deployment to S3 automatically reads your environment variables as follows. #71

Open mick29ca opened 5 years ago

mick29ca commented 5 years ago

Thanks for the PR, but you actually don't need to use ERB for your S3 keys. Deployment to S3 automatically reads your environment variables as follows.

ENV['AWS_ACCESS_KEY_ID']
ENV['AWS_SECRET_ACCESS_KEY']
ENV['AWS_DEFAULT_REGION']
ENV['AWS_DISTRIBUTION_ID']

See the code here.

Originally posted by @imathis in https://github.com/octopress/deploy/pull/62#issuecomment-118454362