ftp-action/entrypoint.sh
2020-05-27 15:10:21 +02:00

3 lines
237 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; lcd $INPUT_LOCALDIR; mirror --reverse --continue --dereference -x ^\.git/$ ./ $INPUT_REMOTEDIR; quit"