Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2019-11-04 13:43:54 +08:00
parent 5d93e7b8ab
commit 9d8f5ac419
+3 -14
View File
@@ -15,24 +15,13 @@ The SCP plugin copy files and artifacts to target host machine via SSH. The belo
image: appleboy/drone-scp
settings:
host: example.com
username: foo
password: bar
port: 22
target: /home/deploy/web
source: release.tar.gz
```
Example configuration with custom username, password and port:
```diff
- 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:
```diff