Update entrypoint.sh

This commit is contained in:
hsimah 2021-01-30 22:03:09 -08:00 committed by GitHub
parent eb75c5cb29
commit d28774e570
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,3 @@
#!/bin/sh -l #!/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 -x ^\.git/$ $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 --delete-first $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"