docs: update docs
This commit is contained in:
parent
44ac6f43de
commit
e3fc3f805d
15
DOCS.md
15
DOCS.md
@ -175,7 +175,8 @@ Example configuration with a generic message template loaded from file, with add
|
|||||||
```
|
```
|
||||||
|
|
||||||
Where `message_file.tpl` is:
|
Where `message_file.tpl` is:
|
||||||
```
|
|
||||||
|
```bash
|
||||||
Build finished for *{{tpl.app}}* - *{{tpl.env}}*
|
Build finished for *{{tpl.app}}* - *{{tpl.env}}*
|
||||||
|
|
||||||
{{#success build.status}}
|
{{#success build.status}}
|
||||||
@ -185,6 +186,18 @@ Build finished for *{{tpl.app}}* - *{{tpl.env}}*
|
|||||||
{{/success}}
|
{{/success}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Example configuration with a custom socks5 URL:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
- name: send telegram notification
|
||||||
|
image: appleboy/drone-telegram
|
||||||
|
settings:
|
||||||
|
token: xxxxxxxxxx
|
||||||
|
to: telegram_user_id
|
||||||
|
message: send message using custom socks5 URL
|
||||||
|
+ socks5: socks5://67.204.21.1:64312
|
||||||
|
```
|
||||||
|
|
||||||
## Parameter Reference
|
## Parameter Reference
|
||||||
|
|
||||||
token
|
token
|
||||||
|
Loading…
Reference in New Issue
Block a user