update message format.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-05-30 08:24:29 +08:00
parent 7a2d870e96
commit 09f6fba2e0
No known key found for this signature in database
GPG Key ID: 0F84B2110C500B1F

12
DOCS.md
View File

@ -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