ftp-action/entrypoint.sh
hsimah ca3f8d253d
Feature/add additional opts (#17)
* Update entrypoint.sh

* Update action.yml

* Update README.md

* Update entrypoint.sh

* pass through additional mirror options

* restore meta-data
2021-01-31 20:42:23 +01:00

3 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 $INPUT_OPTIONS --reverse --continue --dereference -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"