update message format.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
7a2d870e96
commit
09f6fba2e0
12
DOCS.md
12
DOCS.md
@ -153,12 +153,12 @@ pipeline:
|
||||
image: appleboy/drone-telegram
|
||||
token: xxxxxxxxxx
|
||||
to: telegram_user_id
|
||||
message: >
|
||||
{{#success build.status}}
|
||||
build {{build.number}} succeeded. Good job.
|
||||
{{else}}
|
||||
build {{build.number}} failed. Fix me please.
|
||||
{{/success}}
|
||||
+ message: >
|
||||
+ {{#success build.status}}
|
||||
+ build {{build.number}} succeeded. Good job.
|
||||
+ {{else}}
|
||||
+ build {{build.number}} failed. Fix me please.
|
||||
+ {{/success}}
|
||||
```
|
||||
|
||||
# Parameter Reference
|
||||
|
Loading…
Reference in New Issue
Block a user