README.md in capistrano-dingtalk-0.1.0 vs README.md in capistrano-dingtalk-0.1.1
- old
+ new
@@ -20,18 +20,18 @@
```ruby
require 'capistrano/dingtalk'
```
-## configuration
+## Configuration
1. get dingtalk webhook url.
2. add config to `config/deploy.rb` or the stages files.
```ruby
set :dingtalk_info, {
- category: "text" # option, selection: text, markdown, default is text
- url: 'https://oapi.dingtalk.com/robot/send?access_token=abcedf012345678' # change to your url
+ category: "text", # option, selection: text, markdown, default is text
+ url: 'https://oapi.dingtalk.com/robot/send?access_token=abcedf012345678', # change to your url
at_mobiles: [], # option
at_all: false # option
}
```