Commit Graph

6 Commits

Author SHA1 Message Date
Nicholas Terwoord
f6cb56397a Allow the user of Environment Variables
Instead of storing sensitive information in your hexo config, you can instead set environment variables for your S3 configuration.

Requires that the environment variables `AWS_KEY` and `AWS_SECRET` be set.
2014-09-01 19:54:44 -04:00
Nicholas Terwoord
74e7a6e5c1 Pass along region information
This PR allows someone to define a `region` key in `_config.yml` so that upload works correctly via `s3-sync`.

Why? [`s3-sync`](https://github.com/hughsk/s3-sync) uses [`knox`](https://github.com/LearnBoost/knox) to handle S3 commands. Unless your are uploading to `us-standard`, the upload will fail because the S3 url won't be correct.
2014-09-01 19:47:54 -04:00
Josh Strange
11305cda14 Stupid mistake I made that kept directories from uploading 2014-06-28 14:33:55 -04:00
Josh Strange
8ef4301495 Working code 2014-03-01 13:42:41 -05:00
Florian Cargoët
3153e87748 added public_dir variable (available in the next release of hexo) 2013-11-28 21:39:08 +01:00
Florian Cargoët
c85c1a6a62 initial commit 2013-11-24 23:41:24 +01:00