1.0.19 • Published 6 years ago
node-auto-deployer v1.0.19
介绍
自动化部署代码,支持所有git仓库
###安装
1. npm i node-auto-deployer -g
2. npm i pm2 -g(已安装请忽略)
###使用
编写webhook请求
例如:
Secret 随便填写
注意 id与仓库列表ID对应,做仓库识别
2.编写本地配置conf.js
//config
module.exports={
port:3456, //port 端口(注意端口是否能正常访问)
host:getIPAdress()||'127.0.0.1', //IP 项目运行IP
//仓库列表
list:[
{
id:2, //id 请求对应的唯一id
remoteUrl:"https://github.com/pretty-foam/sourceLearning.git", //remote depository url 远程仓库地址
savePath:"./test", //Local Path 本地保存地址
},
{
id:1, //id
remoteUrl:"https://gitee.com/mumu-osc/NiceFish.git", //remote depository url
savePath:"./test1", //Local Path
},
]
}
3.启动
atd start
###相关指令
启动 atd start
停止 atd stop
重启 atd restart
1.0.19
6 years ago
1.0.18
6 years ago
1.0.17
6 years ago
1.0.16
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago