pass through additional mirror options

This commit is contained in:
hsimah 2021-01-31 09:07:10 -08:00
parent 3212823b60
commit 58def8a9fd
3 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,3 @@
#!/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"
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_OPTIONS $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"