mirror of
https://github.com/lddsb/drone-dingtalk-message.git
synced 2026-06-04 18:33:48 +08:00
fix readme error
This commit is contained in:
@@ -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|
|
||||
```
|
||||
Reference in New Issue
Block a user