Skip to content

Commit 098896f

Browse files
committed
Added bash feedback
1 parent 49423c5 commit 098896f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

entrypoint.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
#!/bin/sh
22

3-
set -e
3+
set -eu
4+
5+
echo "Starting FTP Deploy"
6+
7+
echo "Using $INPUT_USER to connect to $INPUT_HOST"
8+
9+
echo "Mirroring from $INPUT_LOCALDIR to $INPUT_REMOTEDIR"
410

511
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"
12+
13+
echo "FTP Deploy Complete"

0 commit comments

Comments
 (0)