mirror of
https://github.com/appleboy/scp-action.git
synced 2024-11-23 23:55:09 +08:00
update INPUT_STRIP_COMPONENTS
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
722d935a90
commit
f1b7ce641c
@ -6,6 +6,7 @@ export GITHUB="true"
|
|||||||
|
|
||||||
[ -z "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s"
|
[ -z "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s"
|
||||||
[ -z "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m"
|
[ -z "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m"
|
||||||
|
[ -z "$INPUT_STRIP_COMPONENTS" ] && export INPUT_COMMAND_TIMEOUT=0
|
||||||
[ -n "$INPUT_STRIP_COMPONENTS" ] && export INPUT_STRIP_COMPONENTS=$((INPUT_STRIP_COMPONENTS + 0))
|
[ -n "$INPUT_STRIP_COMPONENTS" ] && export INPUT_STRIP_COMPONENTS=$((INPUT_STRIP_COMPONENTS + 0))
|
||||||
|
|
||||||
sh -c "/bin/drone-scp $*"
|
sh -c "/bin/drone-scp $*"
|
||||||
|
Loading…
Reference in New Issue
Block a user