0.1.4 • Published 8 years ago
hexo-deployer-s3-cloudfront v0.1.4
hexo-deployer-s3-cloudfront
Amazon S3 and Cloudfront deployer plugin for Hexo. Based on Josh Strange's orginial plugin.
Installation
$ npm install hexo-deployer-s3-cloudfront --save
Usage
Add the plugin in the plugins list in _config.yml
:
- hexo-deployer-s3-cloudfront
and configure the plugin in the same file with:
# You can use this:
deploy:
type: s3-cloudfront
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, default: us-standard
cf_distribution: <cloudfront distribution> // Which distribution should be invalidated?
Contributors
- Wouter van Lent (wouter33)
- Josh Strange (joshstrange; original implementation)
License
MIT