ftp-action/entrypoint.sh
2021-01-30 22:18:02 -08:00

3 lines
241 B
Bash
Executable file

#!/bin/sh -l
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ftp:ssl-force $INPUT_FORCESSL; set ssl:verify-certificate false; mirror --reverse --continue --dereference --delete --delete-first $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"