Pipeline tweaks.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nolan Darilek 2022-03-22 09:16:33 -05:00
parent 2f339a2205
commit a5d77b1c17

View File

@ -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]