mirror of
https://github.com/appleboy/drone-scp.git
synced 2026-06-04 18:23:59 +08:00
docs: [ci skip] update docs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user