Commit Graph

39 Commits

Author SHA1 Message Date
tianjincai
8550024659 make it compatible with hexo v7 2025-07-19 13:48:43 +08:00
Nick Terwoord
9065826e43 Merge pull request #15 from starcatmeow/master
Add support of customizing endpoint for S3-compatiable services
2022-08-31 15:09:04 -04:00
李董睿煊
d1eb441498 Add support of customizing endpoint for S3-compatiable services 2022-08-31 22:54:37 +08:00
Nicholas Terwoord
69164b66e2 Update hexo version 2017-11-14 21:26:46 -05:00
Nicholas Terwoord
c8a695663c Merge pull request #14 from Narsul/master
added `delete_removed` config param to deploy
2017-11-14 20:58:57 -05:00
Nicholas Terwoord
c11240cc0b Merge pull request #13 from astralfrontier/aws-cli-credentials
Optionally get access and secret keys from AWS CLI configuration
2017-11-14 20:58:44 -05:00
Antony Peklo
83a6d5af1b added delete_removed config param to deploy 2017-11-06 20:00:50 +02:00
Bill Garrett
df134f3389 Optionally get access and secret keys from AWS CLI configuration 2017-06-07 10:51:13 -07:00
Nicholas Terwoord
af5b101444 Merge pull request #12 from deepflame/patch-1
fix readme: remove cloudfront config
2017-04-17 08:22:06 -04:00
Andreas Böhrnsen
5e5c3c126b fix readme
It stated s3-cloudfront. Seems to be a 'copy paste' issue from a different repo's README.
2017-04-17 09:43:17 +02:00
Nick Terwoord
8dd6d83c5e Update hexo version 2017-03-29 08:07:21 -04:00
Nicholas Terwoord
8a72a8e64e Merge pull request #11 from jwigley/prefix
added support for prefix option to allow deploying to subdirectories
2017-03-29 08:06:03 -04:00
James Wigley
eb27fe878b added prefix option 2017-03-24 22:44:48 +11:00
Nick Terwoord
e8a42fa608 Bump version number 2016-12-13 23:50:41 -05: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
Nicholas Terwoord
4899912ab1 Merge pull request #10 from thewillhuang/master
use default amazon env variables
2016-12-13 23:48:00 -05:00
William
2409341605 readme 2016-12-01 20:23:56 -08: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
Nicholas Terwoord
d50a2e75c3 Merge pull request #4 from harangue/master
Updated to work with new s3 node module
2016-06-22 21:08:30 -04: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
446ed829ec Update documentation 2015-08-07 13:11:22 -04:00
Nicholas Terwoord
afb7bfac53 Merge pull request #3 from nt3rp/bug/fix-peer-dependecy
Fix Dependency Issues
2015-05-06 20:24:40 -04: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
Nicholas Terwoord
a1c0821f05 Merge pull request #2 from nt3rp/feature/hexo-3
Update to Hexo 3.0
2015-05-06 20:03:56 -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
Nicholas Terwoord
00f2a2a81b Merge pull request #1 from ike/patch-1
Add some file upload error handling
2015-05-06 18:12:47 -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
94a9546ddc fixed link in readme 2013-11-28 21:39:08 +01: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
345a6e2728 Create LICENSE 2013-11-24 23:49:10 +01: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