Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
linux.community
linux-community-site
Commits
9a6d80ec
Commit
9a6d80ec
authored
Aug 11, 2016
by
Nigel Kukard
Browse files
Only do deployment for the master branch
parent
a6290734
Pipeline
#112
passed with stage
in 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9a6d80ec
...
@@ -11,4 +11,5 @@ publish:
...
@@ -11,4 +11,5 @@ publish:
-
echo 'set net:max-retries "5"' >> /etc/lftp.conf
-
echo 'set net:max-retries "5"' >> /etc/lftp.conf
-
echo 'set net:timeout "60"' >> /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/
-
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment