chore(scp): add overwrite and tar_tmp_path
This commit is contained in:
parent
722ddfc32b
commit
f8189f0fbf
2 changed files with 7 additions and 0 deletions
|
@ -38,6 +38,8 @@ see the [action.yml](./action.yml) file for more detail imformation.
|
||||||
* source - scp file list
|
* source - scp file list
|
||||||
* rm - remove target folder before upload data
|
* rm - remove target folder before upload data
|
||||||
* strip_components - remove the specified number of leading path elements.
|
* strip_components - remove the specified number of leading path elements.
|
||||||
|
* overwrite - use `--overwrite` flag with tar
|
||||||
|
* tar_tmp_path - temporary path for tar file on the dest host
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,11 @@ inputs:
|
||||||
strip_components:
|
strip_components:
|
||||||
description: 'remove the specified number of leading path elements'
|
description: 'remove the specified number of leading path elements'
|
||||||
default: 0
|
default: 0
|
||||||
|
overwrite:
|
||||||
|
description: 'use `--overwrite` flag with tar'
|
||||||
|
default: false
|
||||||
|
tar_tmp_path:
|
||||||
|
description: 'temporary path for tar file on the dest host'
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'Dockerfile'
|
image: 'Dockerfile'
|
||||||
|
|
Loading…
Reference in a new issue