feat(drone.yml): 增加 notification
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
增加 notification Signed-off-by: Ching <loooching@gmail.com>
This commit is contained in:
parent
d988b700f4
commit
f3c9f5abae
14
.drone.yml
14
.drone.yml
@ -14,6 +14,20 @@ steps:
|
|||||||
registry: git.tunpok.com
|
registry: git.tunpok.com
|
||||||
tags: latest
|
tags: latest
|
||||||
|
|
||||||
|
- name: nofity
|
||||||
|
image: plugins/webhook
|
||||||
|
settings:
|
||||||
|
urls: http://bark.tunpok.com/UZ6zC82bKRjQaXiVkosVWh/
|
||||||
|
content_type: application/json
|
||||||
|
template: |
|
||||||
|
{
|
||||||
|
"title": "Drone Build {{ build.status }}",
|
||||||
|
"body": "Project: {{ repo.name }}\nBranch: {{ build.branch }}\nCommit: {{ build.commit }}",
|
||||||
|
"group": "drone",
|
||||||
|
"url": "{{ build.link }}",
|
||||||
|
"icon": "https://static-00.iconduck.com/assets.00/drone-icon-2048x2048-6zua2vkz.png"
|
||||||
|
}
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
host:
|
host:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user