action-scp/entrypoint.sh

7 lines
167 B
Bash
Executable file

#!/run/current-system/sw/bin/sh
set -eu
[ -n "$INPUT_STRIP_COMPONENTS" ] && export INPUT_STRIP_COMPONENTS=$((INPUT_STRIP_COMPONENTS + 0))
sh -c "/bin/drone-scp $*"