mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-02 21:52:51 +08:00
docs: [ci skip] update docs.
This commit is contained in:
parent
4507e5e4f0
commit
6f6e20312f
7
DOCS.md
7
DOCS.md
@ -40,7 +40,7 @@ pipeline:
|
|||||||
- echo world
|
- echo world
|
||||||
```
|
```
|
||||||
|
|
||||||
Example configuration for login with private key:
|
Example configuration for login with user private key:
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
pipeline:
|
pipeline:
|
||||||
@ -56,7 +56,7 @@ pipeline:
|
|||||||
- echo world
|
- echo world
|
||||||
```
|
```
|
||||||
|
|
||||||
Example configuration for login with file path of private key:
|
Example configuration for login with file path of user private key:
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
pipeline:
|
pipeline:
|
||||||
@ -124,6 +124,9 @@ password
|
|||||||
key
|
key
|
||||||
: plain text of user private key
|
: plain text of user private key
|
||||||
|
|
||||||
|
key_path
|
||||||
|
: key path of user private key
|
||||||
|
|
||||||
script
|
script
|
||||||
: execute commands on a remote server
|
: execute commands on a remote server
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user