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 from_secret: cargo_registry_token
- name: discord notification - name: discord notification
image: appleboy/drone-discord image: appleboy/drone-discord
when:
status: [success, failure]
settings: settings:
webhook_id: webhook_id:
from_secret: discord_webhook_id from_secret: discord_webhook_id
@ -34,9 +36,11 @@ steps:
tts: true tts: true
message: > message: >
{{#success build.status}} {{#success build.status}}
{{repo.name}} build {{build.number}} succeeded. <{{build.link}}> {{repo.name}} build {{build.number}} succeeded:
{{build.message}}
<{{build.link}}>
{{else}} {{else}}
{{repo.name}} build {{build.number}} failed. <{{build.link}}> {{repo.name}} build {{build.number}} failed:
{{build.message}}
<{{build.link}}>
{{/success}} {{/success}}
when:
status: [success, failure]