README.md in octopress-3.0.9 vs README.md in octopress-3.0.10

- old
+ new

@@ -255,10 +255,12 @@ $ octopress deploy ``` This reads a `_deploy.yml` configuration and deploys your site. Read below to learn how Octopress can generate a deployment configuration file for you. +Note: The `_deploy.yml` is processed through ERB, which makes it easy to load configurations from environment variables. + Deploy has a few commands you should know. | Commands | Description | |:-------------------------------------------|:-------------------------------------------------------------------| | `octopress deploy` | Deploy your site (based on the `_deploy.yml` configuration) | @@ -356,9 +358,16 @@ If you choose a bucket which doesn't yet exist, Octopress Deploy will offer to create it for you, and offer to configure it as a static website. If you configure Octopress to delete files, all files found in the `remote_path` on S3 bucket will be removed unless they match local site files. If `remote_path` is a subdirectory, only files in that subdirectory will be evaluated for deletion. + +You can also set up your configuration to read your AWS credentials from your environment variables using ERB like this: + +``` +access_key_id: <%= ENV['AWS_ACCESS_KEY'] %> +secret_access_key: <%= ENV['AWS_SECRET_KEY'] %> +``` ##### S3 Headers You can create an array of header congifs to set expiration, content and cache settings for any paths matching the `filename`.