From c4f7313dac3fe8bfafd66a7d315151e394c87fdf Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Fri, 4 Dec 2015 16:14:53 +0100 Subject: [PATCH] fixes --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ce3d485..86c02cb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,8 @@ image: golang:1.5 before_script: - echo "deb http://httpredir.debian.org/debian jessie non-free" >> /etc/apt/sources.list + - echo $SSH_PRIVATE_KEY > ~/.ssh/id_rsa + - chmod 600 ~/.ssh/id_rsa - cat /etc/apt/sources.list - apt-get update -yq - apt-get install -yq --no-install-recommends rsync @@ -13,5 +15,6 @@ job: tags: - golang script: + - env - hugo - rsync -aqz --delete-after --no-progress public/ -e ssh $RSYNC_TARGET