scp-action/entrypoint.sh

10 lines
167 B
Bash
Raw Normal View History

2019-05-11 17:01:31 +08:00
#!/bin/sh
set -eu
export GITHUB="true"
[ -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 $*"