1 Star 0 Fork 2

chasel.cc/git-webhook-wework-robot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ecosystem.config.js 710 Bytes
一键复制 编辑 原始数据 按行查看 历史
LeoEatle 提交于 2019-02-01 21:35 +08:00 . fix(server): fix require
module.exports = {
apps : [{
name: 'wework-robot',
script: './dist/server.js',
// Options reference: https://pm2.io/doc/en/runtime/reference/ecosystem-file/
instances: 1,
autorestart: true,
watch: true,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production'
},
env_production: {
NODE_ENV: 'production'
}
}],
deploy : {
production : {
user : 'root',
host : '134.175.32.212',
ref : 'origin/master',
repo : 'git@github.com:LeoEatle/git-webhook-wework-robot.git',
path : '/root/pm2/wework-robot',
'post-deploy' : 'npm install && npm run build && pm2 reload ecosystem.config.js --env production'
}
}
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chaselc/git-webhook-wework-robot.git
git@gitee.com:chaselc/git-webhook-wework-robot.git
chaselc
git-webhook-wework-robot
git-webhook-wework-robot
master

搜索帮助