diff --git a/DOCS.md b/DOCS.md index 68a5688..84b2327 100644 --- a/DOCS.md +++ b/DOCS.md @@ -62,6 +62,22 @@ pipeline: 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: ```diff diff --git a/README.md b/README.md index 47cc2fd..a79ad77 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ Copy files and artifacts via SSH using a binary, docker or [Drone CI](http://rea ## Feature * [x] Support routines. +* [x] Support wildcard pattern on source list. * [x] Support send files to multiple host. * [x] Support send files to multiple target folder on host. * [x] Support load ssh key from absolute path or raw body.