mirror of
https://github.com/sebastianpopp/ftp-action.git
synced 2024-12-22 18:59:49 +01:00
Excluding Git history
Comparing all Git files on every action takes up time and I’m assuming people don’t need the Git history to be available on their FTP server
This commit is contained in:
parent
4cd0cd03d0
commit
12afc55717
1 changed files with 1 additions and 1 deletions
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ssl:verify-certificate false; mirror -R $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"
|
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ssl:verify-certificate false; mirror -R -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"
|
||||||
|
|
Loading…
Reference in a new issue