/upyun-deployer

simple node module for deploy static files to UPYUN bucket

Primary LanguageJavaScriptMIT LicenseMIT

upyun-deployer

NPM version

simple node module for deploy static files to UPYUN bucket


Installation

$ npm install upyun-deployer -g

Usage

$ up-deploy --local ./ --base site --bucket somebucket --operator someone --password mypwd

or, given a config jason like this:

module.exports = {
  localPath: '../docs/site/',
  baseDir: 'site',
  bucket: 'somebucket',
  operator: 'someone',
  password: 'somepwd'
};

and then:

$ up-deploy --config /path/to/config

License

MIT © Leigh Zhu