ftp-action/entrypoint.sh
Sebastian Popp 83bf24a942 add action
2019-09-04 22:29:00 +02:00

5 lines
155 B
Bash
Executable file

#!/bin/sh
set -e
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ssl:verify-certificate false; mirror -R $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"