chore: check timeout variable
This commit is contained in:
parent
f0de4fea6f
commit
2ef3f5e459
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ set -eu
|
|||
|
||||
export GITHUB="true"
|
||||
|
||||
[ -n "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s"
|
||||
[ -n "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m"
|
||||
[ -z "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s"
|
||||
[ -z "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m"
|
||||
|
||||
sh -c "/bin/drone-scp $*"
|
||||
|
|
Loading…
Reference in a new issue