As used by the Meteor guide.
npm install --save-dev hexo-s3-deploy
(in package.json
):
"scripts": {
"deploy": "hexo-s3-deploy"
}
Set the env vars
AWS_KEY
AWS_SECRET
AWS_BUCKET
or create a file keys.json
with key
, secret
, and bucket
Then:
npm run deploy