ftp-action/entrypoint.sh
Tim Bernhard 763d190192
Log info on the upload
This fixes isse #7.
Also, to speed things up, I added `-P` to get parallel up/downloads.
2020-04-11 20:09:45 +02:00

4 lines
244 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 --verbose=3 -P -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"