docs: update drone

This commit is contained in:
Bo-Yi Wu
2019-10-14 23:32:48 +08:00
parent 954e0069e6
commit 8814cfe72c
+9 -8
View File
@@ -22,14 +22,15 @@ The SCP plugin copy files and artifacts to target host machine via SSH. The belo
Example configuration with custom username, password and port:
```diff
image: appleboy/drone-scp
settings:
host: example.com
+ username: appleboy
+ password: 12345678
+ port: 4430
target: /home/deploy/web
source: release.tar.gz
- name: scp files
image: appleboy/drone-scp
settings:
host: example.com
+ username: appleboy
+ password: 12345678
+ port: 4430
target: /home/deploy/web
source: release.tar.gz
```
Example configuration with multiple source and target folder: