hopefully finally fixed message
This commit is contained in:
parent
fcb4865983
commit
15f06e3e02
25
.drone.yml
25
.drone.yml
@ -9,26 +9,6 @@ steps:
|
|||||||
- echo hello
|
- echo hello
|
||||||
- echo world
|
- echo world
|
||||||
|
|
||||||
- name: failure
|
|
||||||
image: appleboy/discord
|
|
||||||
settings:
|
|
||||||
webhook_id:
|
|
||||||
from_secret: discord_webhook_id
|
|
||||||
webhook_token:
|
|
||||||
from_secret: discord_webhook_token
|
|
||||||
message: >
|
|
||||||
{{#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:
|
|
||||||
status:
|
|
||||||
- failure
|
|
||||||
|
|
||||||
- name: success
|
- name: success
|
||||||
image: appleboy/drone-discord
|
image: appleboy/drone-discord
|
||||||
settings:
|
settings:
|
||||||
@ -38,12 +18,13 @@ steps:
|
|||||||
from_secret: discord_webhook_token
|
from_secret: discord_webhook_token
|
||||||
message: >
|
message: >
|
||||||
{{#success build.status}}
|
{{#success build.status}}
|
||||||
build {{build.number}} succeeded. Good job.
|
tests succeeded for commit {{build.commit}} from {{build.author}} in {{build.branch}} on {{repo.name}}
|
||||||
{{else}}
|
{{else}}
|
||||||
build {{build.number}} failed. Fix me please.
|
test failed for commit {{build.commit}} from {{build.author}} in {{build.branch}} on {{repo.name}}
|
||||||
{{/success}}
|
{{/success}}
|
||||||
username: drone
|
username: drone
|
||||||
avatar_url: https://drone.malachy.ie/favicon.png
|
avatar_url: https://drone.malachy.ie/favicon.png
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
|
- failure
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user