From 098896f8aefc816428a266aedef64adff8579c71 Mon Sep 17 00:00:00 2001 From: Thijs Niks Date: Thu, 14 Nov 2019 21:05:33 -0800 Subject: [PATCH] Added bash feedback --- entrypoint.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 7c1b429..7993fc6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,13 @@ #!/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" + +echo "FTP Deploy Complete" \ No newline at end of file