Commit 9a6d80ec authored by Nigel Kukard's avatar Nigel Kukard

Only do deployment for the master branch

parent a6290734
Pipeline #112 passed with stage
in 28 seconds
......@@ -11,4 +11,5 @@ publish:
- 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 --delete --reverse --no-perms --verbose $CI_PROJECT_DIR .; quit;" -p $SERVER_PORT -u $CREDENTIALS https://$SERVER/
only:
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment