修改通知标题 Signed-off-by: Ching <loooching@gmail.com>
This commit is contained in:
parent
d14bf69ed1
commit
0de8e073b0
@ -21,7 +21,7 @@ steps:
|
|||||||
content_type: application/json
|
content_type: application/json
|
||||||
template: |
|
template: |
|
||||||
{
|
{
|
||||||
"title": "Drone Build #{{ build.number }} {{ build.status }}",
|
"title": "Drone Build #{{ build.number }} {{ build.status }} {{ #success }}🟢🟢🟢{{ else }}🔴🔴🔴{{ /success }}",
|
||||||
"body": "Project: {{ repo.name }}\nBranch: {{ build.branch }}\nCommit: {{ truncate build.commit 8 }}",
|
"body": "Project: {{ repo.name }}\nBranch: {{ build.branch }}\nCommit: {{ truncate build.commit 8 }}",
|
||||||
"group": "drone",
|
"group": "drone",
|
||||||
"url": "{{ build.link }}",
|
"url": "{{ build.link }}",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user