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
2014-03-01 13:42:41 -05:00
2013-11-24 23:41:24 +01:00
2015-03-03 12:39:59 -08:00
2014-03-01 13:42:41 -05:00
2014-03-01 13:42:41 -05:00

S3 deployer plugin for Hexo

This plugin can deploy your blog via S3.

Usage

Install

npm install hexo-deployer-s3 --save

Enable

Add hexo-deployer-s3 to plugins in _config.yml.

plugins:
- hexo-deployer-s3

Configure

Add bucket, aws_key and aws_secret to deploy in _config.yml.

deploy:
  type: s3
  bucket: <S3 bucket>
  aws_key: <AWS id key> //Optional, if the environment variable `AWS_KEY` is set
  aws_secret: <AWS secret key> //Optional, if the environment variable `AWS_SECRET` is set
  concurrency: <number of connections> //Optional
  region: <region> //Optional, see https://github.com/LearnBoost/knox#region

Disable

Remove hexo-deployer-s3 from plugins in _config.yml.

plugins:
- hexo-deployer-s3

Update

Execute the following command.

npm update

Uninstall

Execute the following command. Don't forget to disable the plugin before uninstalling.

npm uninstall hexo-deployer-s3
Description
A flexible Hexo deployer for S3-compatible services
Readme MIT 107 KiB
Languages
JavaScript 100%