2019-05-11 09:01:31 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -eu
|
|
|
|
|
|
|
|
export GITHUB="true"
|
|
|
|
|
2019-09-28 03:40:28 +00:00
|
|
|
[ -z "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s"
|
|
|
|
[ -z "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m"
|
2019-09-28 04:34:38 +00:00
|
|
|
[ -n "$INPUT_STRIP_COMPONENTS" ] && export INPUT_STRIP_COMPONENTS=$((INPUT_STRIP_COMPONENTS + 0))
|
2019-09-28 03:37:34 +00:00
|
|
|
|
2019-05-11 12:30:07 +00:00
|
|
|
sh -c "/bin/drone-scp $*"
|