ftp-action/entrypoint.sh

6 lines
155 B
Bash
Raw Normal View History

2019-09-05 04:29:00 +08:00
#!/bin/sh
set -e
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ssl:verify-certificate false; mirror -R $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"