scp-action/entrypoint.sh
Bo-Yi Wu bd7b71696a debug
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-28 12:43:06 +08:00

10 lines
195 B
Bash
Executable File

#!/bin/sh
set -eu
export GITHUB="true"
[ -n "$INPUT_STRIP_COMPONENTS" ] && export INPUT_STRIP_COMPONENTS=$((INPUT_STRIP_COMPONENTS + 0))
echo $INPUT_STRIP_COMPONENTS
sh -c "/bin/drone-scp $*"