Added bash feedback

This commit is contained in:
Thijs Niks 2019-11-14 21:05:33 -08:00
parent 49423c5463
commit 098896f8ae

View File

@ -1,5 +1,13 @@
#!/bin/sh #!/bin/sh
set -e set -eu
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"