docs: [ci skip] remove secret section.
This commit is contained in:
parent
271e1a871c
commit
4e81aba6a3
17
DOCS.md
17
DOCS.md
@ -161,23 +161,6 @@ pipeline:
|
|||||||
+ {{ /success }}
|
+ {{ /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
|
# Parameter Reference
|
||||||
|
|
||||||
token
|
token
|
||||||
|
Loading…
Reference in New Issue
Block a user