From 9a6d80ecd80ac63a8805c67ee87432a541ae5c9b Mon Sep 17 00:00:00 2001 From: Nigel Kukard Date: Thu, 11 Aug 2016 17:43:02 +0000 Subject: [PATCH] Only do deployment for the master branch --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d02aa59..7cde470 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- 2.22.2