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