Commit Graph

8 Commits

Author SHA1 Message Date
Bill Garrett
df134f3389 Optionally get access and secret keys from AWS CLI configuration 2017-06-07 10:51:13 -07:00
James Wigley
eb27fe878b added prefix option 2017-03-24 22:44:48 +11:00
Nicholas Terwoord
f0d78a9add Merge pull request #9 from jrbenito/pass-headers-nt3rp
Pass headers to s3-sync to be able to set metadata in objects
2016-12-13 23:49:03 -05:00
William
5965304a5f use default amazon env variables 2016-12-01 20:09:14 -08: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
bd5e7ec966 Fixed obnoxious logging 2016-01-09 15:02:47 -06: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
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