ftp-action/entrypoint.sh

4 lines
194 B
Bash
Raw Normal View History

2019-11-17 01:45:24 +08:00
#!/bin/sh -l
2019-09-05 04:29:00 +08:00
2019-11-15 12:54:10 +08:00
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ssl:verify-certificate false; mirror --reverse --continue --dereference -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"