We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 098896f commit 5b5c142Copy full SHA for 5b5c142
entrypoint.sh
@@ -1,13 +1,5 @@
1
#!/bin/sh
2
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"
+set -e
10
11
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