Skip to content
Snippets Groups Projects
Commit f547ae62 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Pushed network timeout fixes just incase

parent f5086ebf
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@ publish:
- apt-get dist-upgrade -y
- apt-get install -y lftp ca-certificates
- echo 'set ssl:ca-file "/etc/ssl/certs/ca-certificates.crt"' >> /etc/lftp.conf
- echo 'set net:timeout "120"' >> /etc/lftp.conf
- lftp -d -e "mirror --exclude ^\.git.* --exclude \.gitlab-ci.yaml -eRv $CI_PROJECT_DIR .; quit;" -p $SERVER_PORT -u $CREDENTIALS https://$SERVER/
- echo 'set net:max-retries "5"' >> /etc/lftp.conf
- echo 'set net:timeout "60"' >> /etc/lftp.conf
- lftp -e "mirror --exclude ^\.git.* --exclude \.gitlab-ci.yaml -eRv $CI_PROJECT_DIR .; quit;" -p $SERVER_PORT -u $CREDENTIALS https://$SERVER/
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