mirror of
https://github.com/appleboy/drone-discord.git
synced 2026-06-04 18:33:47 +08:00
@@ -79,5 +79,11 @@ pipeline:
|
||||
target: webhook_id
|
||||
- source: webhook_prod_token
|
||||
target: webhook_token
|
||||
message: |
|
||||
{{ #success build.status }}
|
||||
build {{ build.number }} succeeded. Good job.
|
||||
{{ else }}
|
||||
build {{ build.number }} failed. Fix me please.
|
||||
{{ /success }}
|
||||
when:
|
||||
status: [ success, failure ]
|
||||
|
||||
Reference in New Issue
Block a user