10 Commits

Author SHA1 Message Date
tianjincai
50994b567a add readme 2025-07-19 13:57:35 +08:00
tianjincai
8550024659 make it compatible with hexo v7 2025-07-19 13:48:43 +08:00
Nick Terwoord
58d0a1c341 Update to Hexo 3.0
Update to make code more similar to existing hexojs plugins.

In theory should work with previous versions of hexojs, but forcing version to 3.0.
2015-05-06 20:03:36 -04:00
Isaac Lewis
1e5c5098d2 Add some file upload error handling 2015-03-03 12:39:59 -08:00
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