From 0237bbcbb207f84dcc33cd78c1c6a10f9d951822 Mon Sep 17 00:00:00 2001 From: XenGi Date: Thu, 16 Aug 2018 22:57:53 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01d38df..a5da441 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,7 +49,7 @@ deploy_staging: - mkdir -p ~/.ssh - eval $(ssh-agent -s) - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - - ssh-add <(echo "$PRIVATE_KEY") + - echo "$PRIVATE_KEY" | ssh-add - - rsync -e "ssh -l deploy -p 31337" -av public/ 195.54.164.87:s when: on_success environment: