scp-action/entrypoint.sh
2019-09-28 11:37:34 +08:00

11 lines
192 B
Bash
Executable File

#!/bin/sh
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 $*"