Repository navigation
Expand file tree
/
Copy pathtaskpush.example.json
More file actions
112 lines (112 loc) · 2.31 KB
/
Copy pathtaskpush.example.json
File metadata and controls
112 lines (112 loc) · 2.31 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"$schema": "./taskpush.schema.json",
"version": 1,
"timeout": "15s",
"retries": 2,
"retryDelay": "1s",
"proxy": "",
"channels": [
{
"id": "ops-webhook",
"type": "webhook",
"enabled": true,
"settings": {
"url": "${HOOK_URL}",
"method": "POST",
"headers": {
"X-Token": "${HOOK_TOKEN}"
},
"body": {
"format": "json",
"json": {
"title": "{{title}}",
"text": "{{body}}",
"sent_at": "{{datetime}}"
}
}
}
},
{
"id": "phone",
"type": "bark",
"enabled": true,
"settings": {
"token": "${BARK_TOKEN}",
"group": "ci",
"level": "active",
"clickUrl": "https://example.com/build/example"
}
},
{
"id": "tg",
"type": "telegram",
"enabled": true,
"settings": {
"token": "${TG_TOKEN}",
"chatIds": ["${TG_CHAT_ID}"],
"silent": false
}
},
{
"id": "serverchan",
"type": "serverchan",
"enabled": true,
"settings": {
"token": "${SERVERCHAN_TOKEN}",
"tags": ["ci", "build"],
"short": "{{title}}"
}
},
{
"id": "dingtalk",
"type": "dingtalk",
"enabled": true,
"settings": {
"url": "${DINGTALK_WEBHOOK}",
"secret": "${DINGTALK_SECRET}",
"msgType": "text",
"atAll": false
}
},
{
"id": "wecom",
"type": "wecom",
"enabled": true,
"settings": {
"url": "${WECOM_WEBHOOK}",
"msgType": "text"
}
},
{
"id": "discord",
"type": "discord",
"enabled": true,
"settings": {
"url": "${DISCORD_WEBHOOK}",
"username": "TaskPush",
"avatarUrl": "https://example.com/avatar.png"
}
},
{
"id": "ntfy",
"type": "ntfy",
"enabled": true,
"settings": {
"url": "https://ntfy.example.com/taskpush",
"token": "${NTFY_TOKEN}",
"priority": "high",
"tags": ["ci", "build"]
}
},
{
"id": "gotify",
"type": "gotify",
"enabled": true,
"settings": {
"url": "https://gotify.example.com",
"token": "${GOTIFY_TOKEN}",
"priority": 5
}
}
]
}