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

More updates to the mirroring to not do a chmod

parent f547ae62
No related branches found
No related tags found
No related merge requests found
......@@ -10,5 +10,5 @@ publish:
- echo 'set ssl:ca-file "/etc/ssl/certs/ca-certificates.crt"' >> /etc/lftp.conf
- 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/
- lftp -e "mirror --exclude ^\.git.* --exclude \.gitlab-ci.yaml --delete --reverse --no-perms --verbose $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