From eec8b982ebd90cfc682ed4876be7ab0552f6557b Mon Sep 17 00:00:00 2001 From: Stu Sherwin Date: Tue, 21 Aug 2018 18:26:50 +0100 Subject: [PATCH] Disable strict host key checking --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ebbf77b..5a1c14f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,10 +9,9 @@ deploy: - apt-get update -y - apt-get -y install rsync - gem install jekyll - - ssh-keyscan -t rsa autonomic.zone >> ~/.ssh/known_hosts script: - jekyll build -d public - - rsync -avz --delete --no-group ./dist/ $SERVER_USER@autonomic.zone:/var/www/autonomic.zone/html/ + - rsync -avz --delete --no-group -e 'ssh -o StrictHostKeyChecking=no' ./dist/ $SERVER_USER@autonomic.zone:/var/www/autonomic.zone/html/ artifacts: paths: - public