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.
33 lines
740 B
Markdown
33 lines
740 B
Markdown
# hexo-deployer-s3
|
|
|
|
Amazon S3 deployer plugin for [Hexo](http://hexo.io/)
|
|
|
|
## Installation
|
|
|
|
``` bash
|
|
$ npm install git://git@github.com/nt3rp/hexo-deployer-s3.git --save
|
|
```
|
|
|
|
## Options
|
|
|
|
You can configure this plugin in `_config.yml`.
|
|
|
|
``` yaml
|
|
# You can use this:
|
|
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
|
|
```
|
|
|
|
## Contributors
|
|
|
|
- Josh Strange ([joshstrange](https://github.com/joshstrange); original implementation)
|
|
|
|
## License
|
|
|
|
MIT
|