From e35afc0dcd3109deb683f2e2f7dd009442b864cf Mon Sep 17 00:00:00 2001 From: Chris Croome Date: Sun, 18 Nov 2018 16:05:08 +0000 Subject: [PATCH] CI tweaks to make it less verbose --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e8c8775..c56e377 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,9 +5,7 @@ variables: LC_ALL: C.UTF-8 before_script: - - 'which rsync || ( apt-get update -y && apt-get install rsync -y )' - - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - - eval $(ssh-agent -s) + - 'which rsync || ( apt-get update -qq && apt-get install rsync -yqq )' - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh - chmod 700 ~/.ssh @@ -29,7 +27,7 @@ pages: stage: deploy script: - bundle exec jekyll build -d public - - rsync -avz public/ cotech@webarch2.co.uk:sites/default/ + - rsync -aqz public/ cotech@webarch2.co.uk:sites/default/ artifacts: paths: - public