From 8d59fbc88bfe630224a38ffdf5e737f1ff925733 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20Sko=C5=99epa?= <jakub@skorepa.info>
Date: Sun, 29 Jul 2018 17:02:30 +0200
Subject: [PATCH] Try again

---
 .gitlab-ci.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7d3be575..0eeb4662 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -71,11 +71,9 @@ deploy:
     - if [ -d static    ] ; then cd static;    git pull; cd ..; else git clone https://git.ok1kvk.cz/ok1kvk.cz/static.git;    fi
     - cd generator/; npm install; cd ..
     - node generator/index.js --contentdir . --staticdir static --themedir generator/theme --builddir build --noserver
-    - mkdir ~/.ssh; chmod 700 ~/.ssh; touch ~/.ssh/known_hosts; chmod 600 ~/.ssh/known_hosts
-    - ssh-keygen -f ~/.ssh/known_hosts -R $SSH_HOST
     - echo "$DEPLOY_SSH_KEY" > sshkey
     - chmod 600 sshkey
-    - rsync -e 'ssh -i sshkey' -rc --delete build/ $SSH_HOST:$HTML_DIR/
+    - rsync -e 'ssh -i sshkey -o StrictHostKeyChecking=no' -rc --delete build/ $SSH_HOST:$HTML_DIR/
     - rm sshkey
 
 cache:
-- 
GitLab