mirror of
https://github.com/appleboy/scp-action.git
synced 2024-11-23 23:55:09 +08:00
docs: add README configuration for custom file exclusions
- Add configuration example for excluding custom files in README.md Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
7cc0f645c7
commit
a4e63f0f1a
14
README.md
14
README.md
@ -189,6 +189,20 @@ Example configuration for multiple servers:
|
||||
target: "test"
|
||||
```
|
||||
|
||||
Example configuration for exclude custom files:
|
||||
|
||||
```yaml
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
host: "example.com"
|
||||
username: foo
|
||||
password: bar
|
||||
port: 22
|
||||
- source: "tests/*.txt"
|
||||
+ source: "tests/*.txt,!tests/a.txt,!tests/b.txt"
|
||||
target: "test"
|
||||
```
|
||||
|
||||
Remove the specified number of leading path elements:
|
||||
|
||||
```yaml
|
||||
|
Loading…
Reference in New Issue
Block a user