AWS S3 deployer plugin for Hexo.
$ npm install hexo-deployer-aws-s3 --saveWe must provide 4 parameters to the AWS SDK.
- accessKeyId
- secretAccessKey
- region
- 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.
$ hexo deployMIT