From f8189f0fbfaaa6c25a96a9cc507bbcfb0bc4eff5 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 29 Sep 2019 01:42:21 +0800 Subject: [PATCH] chore(scp): add overwrite and tar_tmp_path --- README.md | 2 ++ action.yml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 8f71ef8..7896033 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,8 @@ see the [action.yml](./action.yml) file for more detail imformation. * source - scp file list * rm - remove target folder before upload data * 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 diff --git a/action.yml b/action.yml index de8868c..933ed0a 100644 --- a/action.yml +++ b/action.yml @@ -29,6 +29,11 @@ inputs: strip_components: description: 'remove the specified number of leading path elements' 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: using: 'docker' image: 'Dockerfile'