docs: [ci skip] remove secret section.

This commit is contained in:
Bo-Yi Wu 2017-01-20 15:06:58 +08:00
parent 271e1a871c
commit 4e81aba6a3

17
DOCS.md
View File

@ -161,23 +161,6 @@ pipeline:
+ {{ /success }}
```
# Secrets
The telegram plugin supports reading credentials from the Drone secret store. This is strongly recommended instead of storing credentials in the pipeline configuration in plain text.
```diff
pipeline:
telegram:
image: appleboy/drone-telegram
- token: xxxxxxxxxx
to: telegram_user_id
```
The `token` attribute can be replaced with the below secret environment variables. Please see the Drone documentation to learn more about secrets.
PLUGIN_TOKEN
: telegram token
# Parameter Reference
token