ftp-action/entrypoint.sh
2019-11-14 20:54:10 -08:00

5 lines
199 B
Bash
Executable file

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