fix readme error

This commit is contained in:
lddsb
2018-12-02 22:45:04 +08:00
parent 22302af994
commit 94589226ee
+2 -12
View File
@@ -15,7 +15,7 @@ cd $GOPATH/src/github.com/lddsb/drone-dingtalk-message && go build .
```
> run
```shell
./drone-dingtalk-notification -h
./drone-dingtalk-message -h
```
### Drone CI Plugin Config
```yaml
@@ -26,14 +26,4 @@ pipeline:
environment:
- PLUGIN_ACCESS_TOKEN=xxx
- PLUGIN_MSG_TYPE=markdown
```
### Drone CI Plugin Configs
|ENV|description|is require|
|:-:|:-:|:-:|:-:|
|PLUGIN_ACCESS_TOKEN|dingtalk access token|Yes|
|PLUGIN_MSG_TYPE|dingtalk message type, optional: text, markdown, link, actionCard, feedCard|Yes|
|PLUGIN_MSG_AT_ALL|dingtalk message at all in a group by robot(`default close`)|No|
|PLUGIN_MSG_AT_MOBILES|dingtalk message at anyone in a group by mobiles(`default empty`)|No|
|PLUGIN_LANG|dingtalk message lang, optional: zh_CN and en_US(`default zh_CN`)|No|
```