ftp-action/entrypoint.sh

4 lines
229 B
Bash
Raw Permalink Normal View History

2019-11-16 18:45:24 +01:00
#!/bin/sh -l
2019-09-04 22:29:00 +02:00
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ftp:ssl-force $INPUT_FORCESSL; set ssl:verify-certificate false; mirror --reverse --continue --dereference -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"