Skip to content

Commit 73cab2a

Browse files
Merge pull request #1 from thijsniks/master
- Excluding Git history - Made the server variable a secret - Continue when possible - Deference symbolic links - Verbose bash commands
2 parents 4cd0cd0 + 5b5c142 commit 73cab2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Deploy FTP
1717
uses: sebastianpopp/ftp-action@master
1818
with:
19-
host: "ftp.example.com"
19+
host: ${{ secrets.FTP_SERVER }}
2020
user: ${{ secrets.FTP_USERNAME }}
2121
password: ${{ secrets.FTP_PASSWORD }}
2222
localDir: "dist"

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
set -e
44

5-
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ssl:verify-certificate false; mirror -R $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"
5+
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"

0 commit comments

Comments
 (0)