update readme.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-10-07 00:43:03 +08:00
parent 2e602c4560
commit 09796b1872

View File

@ -4,6 +4,10 @@
[Drone](https://github.com/drone/drone) plugin for sending telegram notifications. [Drone](https://github.com/drone/drone) plugin for sending telegram notifications.
## Feature
* [x] Send Text Message (`markdown` or `html` format)
## Build ## Build
Build the binary with the following commands: Build the binary with the following commands:
@ -46,6 +50,7 @@ docker run --rm \
-e PLUGIN_TO=xxxxxxx \ -e PLUGIN_TO=xxxxxxx \
-e PLUGIN_MESSAGE=test \ -e PLUGIN_MESSAGE=test \
-e PLUGIN_DEBUG=true \ -e PLUGIN_DEBUG=true \
-e PLUGIN_FORMAT=markdown
-e DRONE_REPO_OWNER=appleboy \ -e DRONE_REPO_OWNER=appleboy \
-e DRONE_REPO_NAME=go-hello \ -e DRONE_REPO_NAME=go-hello \
-e DRONE_COMMIT_SHA=e5e82b5eb3737205c25955dcc3dcacc839b7be52 \ -e DRONE_COMMIT_SHA=e5e82b5eb3737205c25955dcc3dcacc839b7be52 \