diff --git a/.drone.yml b/.drone.yml index fb7679e..3956620 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,7 +17,12 @@ steps: webhook_token: from_secret: discord_webhook_token message: > - test failed for commit {{build.commit}} from {{build.author}} in {{build.branch}} on {{repo.name}} + {{#success build.status}} + build {{build.number}} succeeded. Good job. + {{else}} + build {{build.number}} failed. Fix me please. + {{/success}} + username: drone avatar_url: https://drone.malachy.ie/favicon.png when: @@ -32,7 +37,11 @@ steps: webhook_token: from_secret: discord_webhook_token message: > - tests succeeded for commit {{build.commit}} from {{build.author}} in {{build.branch}} on {{repo.name}} + {{#success build.status}} + build {{build.number}} succeeded. Good job. + {{else}} + build {{build.number}} failed. Fix me please. + {{/success}} username: drone avatar_url: https://drone.malachy.ie/favicon.png when: