代码拉取完成,页面将自动刷新
将你从繁冗的部署工作中解放出来,让你的部署流程更加自动化
执行以下命令安装
npm install -g deploy-robot
使用以下命令启动脚本
deploy-robot -c config.json
参考目录下的 config.json.sample 文件
{
"username": "", // 用户名
"password": "", // token,去 https://github.com/settings/applications 的 "Personal access tokens" 选项卡点击 "Generate new token",将获取的字符串填入这里
"repos": [ // 需要监听地 repo 列表
{
"user": "xxx", // repo 所属用户名
"name": "xxx", // repo 名
"labels": "xxx", // 指定 issue 的 label
"command": "xxx", // 上线脚本的命令
"confirm": null // 上线是否需要某人的确认, 默认为空
}
]
}
见下图
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。