mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-05-09 18:23:21 +08:00
Merge pull request #12 from drone-plugins/feature/docs
Added image to docs
This commit is contained in:
commit
637c454e0e
4
DOCS.md
4
DOCS.md
@ -26,7 +26,7 @@ It is highly recommended to put the **SSH_KEY** into a secret so it is not
|
||||
exposed to users. This can be done using the drone-cli.
|
||||
|
||||
```bash
|
||||
drone secret add --image=ssh \
|
||||
drone secret add --image=plugins/ssh \
|
||||
octocat/hello-world SSH_KEY @path/to/.ssh/id_rsa
|
||||
```
|
||||
|
||||
@ -46,6 +46,7 @@ Example configuration in your .drone.yml file for a single host:
|
||||
```yaml
|
||||
pipeline:
|
||||
ssh:
|
||||
image: plugins/ssh
|
||||
host: foo.com
|
||||
user: root
|
||||
port: 22
|
||||
@ -59,6 +60,7 @@ Example configuration in your .drone.yml file for multiple hosts:
|
||||
```yaml
|
||||
pipeline:
|
||||
ssh:
|
||||
image: plugins/ssh
|
||||
host:
|
||||
- foo.com
|
||||
- bar.com
|
||||
|
Loading…
Reference in New Issue
Block a user