根据git commit hash等动态参数执行qshell qupload2
安装
npm i -g qupload-bin使用
安装
npm i -D qupload-bin使用
在package.json中增加以下内容:
"scripts": {
"deploy": "qupload"
// "deploy": "qupload --bucket=test" or with params
}在项目编译完成后,执行以下命令上传文件到七牛 CDN:
npm run deployqshell-bin v2.0.0