docs: add ignore list example.

This commit is contained in:
Bo-Yi Wu
2019-05-11 14:34:40 +08:00
parent bb63d55f89
commit 6de8f74170
+23 -1
View File
@@ -157,15 +157,37 @@ pipeline:
- example1.com
- example2.com
user: ubuntu
password:
from_secret: ssh_password
port: 22
- command_timeout: 120
+ command_timeout: 2m
from_secret: ssh_password
target: /home/deploy/web
source:
- release/*.tar.gz
```
Example configuration for ignore list:
```diff
pipeline:
scp:
image: appleboy/drone-scp
settings:
host:
- example1.com
- example2.com
user: ubuntu
password:
from_secret: ssh_password
port: 22
command_timeout: 2m
target: /home/deploy/web
source:
+ - !release/README.md
- release/*
```
# Parameter Reference
host