scp-action/entrypoint.sh

8 lines
145 B
Bash
Raw Normal View History

2019-05-11 17:01:31 +08:00
#!/bin/sh
set -eu
[ -n "$INPUT_STRIP_COMPONENTS" ] && export INPUT_STRIP_COMPONENTS=$((INPUT_STRIP_COMPONENTS + 0))
2019-05-11 20:30:07 +08:00
sh -c "/bin/drone-scp $*"