[ci skip] update docs.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2017-05-01 08:55:10 +08:00
parent 35c2f7a14c
commit a2708638cf
+11
View File
@@ -89,6 +89,17 @@ Remove target folder before copy files and artifacts to target:
+ rm: true
```
Example for remove the specified number of leading path elements:
```diff
scp:
image: appleboy/drone-scp
host: example.com
target: /home/deploy/web
source: dist/release.tar.gz
+ strip_components: 1
```
Example configuration using SSHProxyCommand:
```diff