From 2122c5b0099c66c8ad11087aa63d890d221bf85f Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Wed, 20 Apr 2022 14:23:41 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b07fc88..d72be17 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,6 +44,7 @@ deploy-period: - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - - mkdir -p ~/.ssh - chmod 700 ~/.ssh + - ssh-keyscan 192.168.1.19 script: - ssh ahosking@192.168.1.19 "cd /home/ahosking/period && git pull origin master && exit" only: