From a9bde40964d513aaf55ff26391846e36306d9c01 Mon Sep 17 00:00:00 2001 From: Joel Collins <2579603-jtc42@users.noreply.gitlab.com> Date: Wed, 21 Aug 2019 10:30:10 +0000 Subject: [PATCH] Install rsync into deploy stage --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 48bf9267..a33f2654 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,6 +39,7 @@ deploy: - mkdir -p ~/.ssh - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config script: + - 'which rsync || ( apt-get update -y && apt-get install rsync -y )' - mkdir -p "./release-builds" - touch "./release-builds/build-placeholder.txt" - rsync -hrvz -e ssh release-builds/ ci-user@openflexure.bath.ac.uk:/var/www/build/openflexure-ev/