action-scp/entrypoint.sh
silver 3a97b1cd7e
Some checks failed
scp files / test scp action (push) Failing after 28s
scp files / test deploy artifact (push) Failing after 16s
scp files / test changed-files (push) Failing after 9s
scp files / test Multiple Host (push) Has been cancelled
scp files / test target folder (push) Has been cancelled
test: see if using the #!/usr/bin/env will help in the operation
Signed-off-by: silver <silver@skynet.ie>
2024-09-22 20:16:39 +00:00

7 lines
153 B
Bash
Executable file

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