mirror of
https://github.com/sebastianpopp/ftp-action.git
synced 2024-12-23 03:09:50 +01:00
parent
098896f8ae
commit
5b5c1425a2
1 changed files with 1 additions and 9 deletions
|
@ -1,13 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -eu
|
set -e
|
||||||
|
|
||||||
echo "Starting FTP Deploy"
|
|
||||||
|
|
||||||
echo "Using $INPUT_USER to connect to $INPUT_HOST"
|
|
||||||
|
|
||||||
echo "Mirroring from $INPUT_LOCALDIR to $INPUT_REMOTEDIR"
|
|
||||||
|
|
||||||
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"
|
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"
|
||||||
|
|
||||||
echo "FTP Deploy Complete"
|
|
Loading…
Reference in a new issue