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
|
image: appleboy/drone-telegram
|
||||||
token: xxxxxxxxxx
|
token: xxxxxxxxxx
|
||||||
to: telegram_user_id
|
to: telegram_user_id
|
||||||
message: >
|
+ message: >
|
||||||
{{#success build.status}}
|
+ {{#success build.status}}
|
||||||
build {{build.number}} succeeded. Good job.
|
+ build {{build.number}} succeeded. Good job.
|
||||||
{{else}}
|
+ {{else}}
|
||||||
build {{build.number}} failed. Fix me please.
|
+ build {{build.number}} failed. Fix me please.
|
||||||
{{/success}}
|
+ {{/success}}
|
||||||
```
|
```
|
||||||
|
|
||||||
# Parameter Reference
|
# Parameter Reference
|
||||||
|
Loading…
Reference in New Issue
Block a user