Skip to content
Snippets Groups Projects
Commit d02b2847 authored by Martin Vítek's avatar Martin Vítek
Browse files

Port 21, lftp veersion

parent 82eea1b2
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@ build and deploy:
- rm -rf build
- yarn
- node ./index.js --prod
- lftp --version
- |
lftp -e "debug 5
set sftp:auto-confirm yes;
......@@ -23,7 +24,7 @@ build and deploy:
set net:timeout 5;
set net:reconnect-interval-base 5;
set net:max-retries 3;
open --user $FTP_USER --env-password -p 2121 sftp://$FTP_HOST/;
open --user $FTP_USER --env-password -p 21 sftp://$FTP_HOST/;
mirror --verbose=3 --parallel=10 -c -R -L --no-perms --exclude=.htaccess ./build $FTP_DIR;
exit 0;"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment