ftp-action/entrypoint.sh
2019-11-16 18:45:24 +01:00

3 lines
194 B
Bash
Executable file

#!/bin/sh -l
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"