This commit is contained in:
parent
2f339a2205
commit
a5d77b1c17
12
.drone.yml
12
.drone.yml
|
@ -26,6 +26,8 @@ steps:
|
|||
from_secret: cargo_registry_token
|
||||
- name: discord notification
|
||||
image: appleboy/drone-discord
|
||||
when:
|
||||
status: [success, failure]
|
||||
settings:
|
||||
webhook_id:
|
||||
from_secret: discord_webhook_id
|
||||
|
@ -34,9 +36,11 @@ steps:
|
|||
tts: true
|
||||
message: >
|
||||
{{#success build.status}}
|
||||
{{repo.name}} build {{build.number}} succeeded. <{{build.link}}>
|
||||
{{repo.name}} build {{build.number}} succeeded:
|
||||
{{build.message}}
|
||||
<{{build.link}}>
|
||||
{{else}}
|
||||
{{repo.name}} build {{build.number}} failed. <{{build.link}}>
|
||||
{{repo.name}} build {{build.number}} failed:
|
||||
{{build.message}}
|
||||
<{{build.link}}>
|
||||
{{/success}}
|
||||
when:
|
||||
status: [success, failure]
|
||||
|
|
Loading…
Reference in New Issue
Block a user