chore: add default timeout

This commit is contained in:
Bo-Yi Wu
2019-09-28 11:37:34 +08:00
parent 03e93ae863
commit f0de4fea6f
2 changed files with 4 additions and 3 deletions

View File

@ -4,4 +4,7 @@ set -eu
export GITHUB="true"
[ -n "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s"
[ -n "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m"
sh -c "/bin/drone-scp $*"