fixed message
This commit is contained in:
parent
5e38d68632
commit
fcb4865983
13
.drone.yml
13
.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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user