qcloud-cos-deploy
v1.0.2
Published
## Usage
Downloads
2
Readme
QCloud COS Deploy
Usage
npm i qcloud-cos-deploy
CLI
// package.json
{
//...
"scripts": {
"deploy": "qcloud-cos-deploy dist --bucket tdu-static-1255927758 --region ap-guangzhou --secret-id xxx --secret-key xxx -i index\\.html"
}
}
npm run deploy
Code
// any.js
const deploy = require('qcloud-cos-deploy')
deploy({ region: '', bucket: '', secretId: '', secretKey: '', ignore: '' })