From e3fc3f805d3c83c67d5fd258e6285953859c7340 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 7 Dec 2019 13:26:50 +0800 Subject: [PATCH] docs: update docs --- DOCS.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/DOCS.md b/DOCS.md index 1b97fe6..23d4a5f 100644 --- a/DOCS.md +++ b/DOCS.md @@ -175,7 +175,8 @@ Example configuration with a generic message template loaded from file, with add ``` Where `message_file.tpl` is: -``` + +```bash Build finished for *{{tpl.app}}* - *{{tpl.env}}* {{#success build.status}} @@ -185,6 +186,18 @@ Build finished for *{{tpl.app}}* - *{{tpl.env}}* {{/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 token