Commit Graph

14 Commits

Author SHA1 Message Date
tianjincai
b897cc1002 set as a new package 2025-07-19 14:10:40 +08:00
tianjincai
8550024659 make it compatible with hexo v7 2025-07-19 13:48:43 +08:00
Nicholas Terwoord
69164b66e2 Update hexo version 2017-11-14 21:26:46 -05:00
Bill Garrett
df134f3389 Optionally get access and secret keys from AWS CLI configuration 2017-06-07 10:51:13 -07:00
Nick Terwoord
8dd6d83c5e Update hexo version 2017-03-29 08:07:21 -04:00
Nick Terwoord
e8a42fa608 Bump version number 2016-12-13 23:50:41 -05:00
Josenivaldo Benito Jr
7d675f69c7 Pass headers to s3-sync to be able to set metadata in objects
s3-sync has the ability to receive headers as arguments and pass them to
AWS S3 as metadata headers. This modification proposes to set headers at
configuration so they are written in the objects when deploying.

Main motivation is to be able to pass CacheControl header and have
Cache-Control set for objects ovoiding "Leverage Browser Caching"
throwed by page speed analyzers.

Attention: Metadata are written equal to all objects (files) stored to
S3 and there is no way to tailor it by file type at this moment.

Signed-off-by: Josenivaldo Benito Jr <jrbenito@benito.qsl.br>
2016-06-27 15:43:40 -03:00
Jack Guy
c0070e9578 Changed s3-sync dependency to the s3 module, better maintained. API hasn't changed 2016-01-09 14:44:08 -06:00
Nick Terwoord
d520197b85 Fix Dependency Issues
- Use peer dependencies to state relationship with hexo
- Re-install `level` required package (can be used to create local S3 cache for performance, see [s3-sync](https://github.com/hughsk/s3-sync))
2015-05-06 20:22:35 -04:00
Nick Terwoord
ca23235818 Fix Typo 2015-05-06 20:05:14 -04: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
Josh Strange
8ef4301495 Working code 2014-03-01 13:42:41 -05:00
Florian Cargoët
7725f55d86 fixed repository in package 2013-11-24 23:46:57 +01:00
Florian Cargoët
c85c1a6a62 initial commit 2013-11-24 23:41:24 +01:00