1.0.9 • Published 3 years ago

ocm-deployer v1.0.9

Weekly downloads
1
License
ISC
Repository
-
Last release
3 years ago

OcmDeployer

OcmDeployer 小厘云前端项目的部署工具

Install

$ npm install ocm-deployer

Usage

const Deployer = require('deployer')
const dep = new Deployer({
  accessKeyId: "",//亚马逊配置
  secretAccessKey: "",//亚马逊配置
  bucket:'',//亚马逊配置
  key:'', //亚马逊桶中的路径 如 /test/123
  dir:'dist', //带部署项目的本地目录
  serverPath:'', // 项目在服务器www目录下的路径 www/serverPath
  keyPath:'', // 本机上存放服务器的私钥的路径
  serverIP:'', //服务器的IP
  ip:'',//本机ip
  port:''//本机port
});

// isDemo 是否为测试环境
//true:即在key 和serverPath后自动添加demo后缀
//默认false
dep.push(isDemo)
1.0.9

3 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago