ftp-action/entrypoint.sh
2019-11-14 20:52:48 -08:00

5 lines
173 B
Bash
Executable file

#!/bin/sh
set -e
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ssl:verify-certificate false; mirror -R -c -L -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"