File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 7
7
特点
8
8
----
9
9
10
- - 与Github深度整合,利用Github API读取相关部署指令 ,并及时反馈部署情况
10
+ - 与 GitHub 深度整合,利用 GitHub API 读取相关部署指令 ,并及时反馈部署情况
11
11
- 与人工部署不同的是,自动部署不会疲劳,也不会喊累,你永远可以不停地折腾它
12
12
13
13
使用方法
@@ -25,21 +25,21 @@ npm install -g deploy-robot
25
25
deploy-robot -c config.json
26
26
```
27
27
28
- config.json文件
28
+ config.json 文件
29
29
--------------
30
30
31
- 参考目录下地config .json.sample文件
31
+ 参考目录下的 config .json.sample 文件
32
32
33
33
``` javascript
34
34
{
35
35
" username" : " " , // 用户名
36
- " password" : " " , // token,去user/settings申请
36
+ " password" : " " , // token,去 user/settings 申请
37
37
38
- " repos" : [ // 需要监听地repo列表
38
+ " repos" : [ // 需要监听地 repo 列表
39
39
{
40
- " user" : " xxx" , // repo所属用户名
41
- " name" : " xxx" , // repo名
42
- " labels" : " xxx" , // 指定issue的label
40
+ " user" : " xxx" , // repo 所属用户名
41
+ " name" : " xxx" , // repo 名
42
+ " labels" : " xxx" , // 指定 issue 的 label
43
43
" command" : " xxx" , // 上线脚本的命令
44
44
" confirm" : null // 上线是否需要某人的确认, 默认为空
45
45
}
You can’t perform that action at this time.
0 commit comments