scp-action/entrypoint.sh

11 lines
192 B
Bash
Raw Normal View History

2019-05-11 17:01:31 +08:00
#!/bin/sh
set -eu
export GITHUB="true"
2019-09-28 11:40:28 +08:00
[ -z "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s"
[ -z "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m"
2019-09-28 11:37:34 +08:00
2019-05-11 20:30:07 +08:00
sh -c "/bin/drone-scp $*"