forked from Shipmee/Shipmee_CID
-
Notifications
You must be signed in to change notification settings - Fork 0
/
git_auto_deploy_config.json
89 lines (79 loc) · 2.5 KB
/
git_auto_deploy_config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
// HTTP server options
"http-enabled": true,
"http-host": "0.0.0.0",
"http-port": 8001,
// HTTPS server options
"https-enabled": false,
//"https-host": "0.0.0.0",
//"https-port": 8002,
// Web socket server options (used by web UI for real time updates)
//"wss-enabled": false,
//"wss-host": "0.0.0.0",
//"wss-port": 8003,
// Web user interface options
"web-ui-enabled": false,
//"web-ui-username": null,
//"web-ui-password": null,
//"web-ui-whitelist": ["127.0.0.1"],
// TLS/SSL cert (necessary for HTTPS and web socket server to work)
//"ssl-key": null, // If specified, holds the private key
//"ssl-cert": "cert.pem", // Holds the public key or both the private and public keys
// File to store a copy of the console output
"log-file": "/home/core/SUGUS_CID_Workspace/gitautodeploy.log",
// File to store the process id (pid)
"pid-file": "/home/core/SUGUS_CID_Workspace/.gitautodeploy.pid",
// Not notify running as root user
"allow-root-user" : true,
// Record all log levels by default
"log-level": "INFO",
"global_deploy": [
"echo Deploy started!",
"echo Deploy completed!"
],
"repositories": [
{
"url": "https://github.com/SUGUS-GNULinux/SugusBot.git",
"branch": "Develop",
"remote": "origin",
"path": "/home/core/SUGUS_CID_Workspace/repositories/sugusbot-dev",
"deploy": "echo deploying && bash /home/core/SUGUS_CID/scripts/sugusbot-dev/continuousDeploy.sh",
"filters": [
{
"ref": "refs/heads/Develop"
}
],
"header-filter": {
"X-GitHub-Event": "push"
}
}, {
"url": "https://github.com/SUGUS-GNULinux/minolobot.git",
"branch": "master",
"remote": "origin",
"path": "/home/core/SUGUS_CID_Workspace/repositories/minolobot-master",
"deploy": "echo deploying && bash /home/core/SUGUS_CID/scripts/minolobot-master/continuousDeploy.sh",
"filters": [
{
"ref": "refs/heads/master"
}
],
"header-filter": {
"X-GitHub-Event": "push"
}
}, {
"url": "https://github.com/SUGUS-GNULinux/minolobot.git",
"branch": "dev",
"remote": "origin",
"path": "/home/core/SUGUS_CID_Workspace/repositories/minolobot-dev",
"deploy": "echo deploying && bash /home/core/SUGUS_CID/scripts/minolobot-dev/continuousDeploy.sh",
"filters": [
{
"ref": "refs/heads/dev"
}
],
"header-filter": {
"X-GitHub-Event": "push"
}
}
]
}