thdotnet / hexo-deployer-aws-s3

Repository from Github https://github.comthdotnet/hexo-deployer-aws-s3Repository from Github https://github.comthdotnet/hexo-deployer-aws-s3

hexo-deployer-aws-s3

AWS S3 deployer plugin for Hexo.

Installation

$ npm install hexo-deployer-aws-s3 --save

Setup

We must provide 4 parameters to the AWS SDK.

  1. accessKeyId
  2. secretAccessKey
  3. region
  4. bucket

You can provide region and bucket from _config.yml

deploy:
  type: aws-s3
  region: <region>
  bucket: <bucket>

You can't provide accessKeyId and secretAccessKey from this plugin. Instead, you can provide them from global settings below.

  • Credentials File: ~/.aws/credentials
  • Environment Variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY

For more, see Configuring the SDK in Node.js.

Usage

$ hexo deploy

License

MIT

About


Languages

Language:JavaScript 100.0%