docs: [ci skip] update docs

This commit is contained in:
Bo-Yi Wu
2017-02-13 11:17:05 +08:00
parent baa413d348
commit ed37a75097
2 changed files with 17 additions and 0 deletions
+16
View File
@@ -62,6 +62,22 @@ pipeline:
source: release.tar.gz source: release.tar.gz
``` ```
Example configuration with wildcard pattern of source list:
```diff
pipeline:
scp:
image: appleboy/drone-scp
host:
- example1.com
- example2.com
target: /home/deploy/web
source:
- - release/backend.tar.gz
- - release/images.tar.gz
+ - release/*.tar.gz
```
Remove target folder before copy files and artifacts to target: Remove target folder before copy files and artifacts to target:
```diff ```diff
+1
View File
@@ -7,6 +7,7 @@ Copy files and artifacts via SSH using a binary, docker or [Drone CI](http://rea
## Feature ## Feature
* [x] Support routines. * [x] Support routines.
* [x] Support wildcard pattern on source list.
* [x] Support send files to multiple host. * [x] Support send files to multiple host.
* [x] Support send files to multiple target folder on host. * [x] Support send files to multiple target folder on host.
* [x] Support load ssh key from absolute path or raw body. * [x] Support load ssh key from absolute path or raw body.