From a9cbd21284566eb5f03d888f7daeeaeb942812f6 Mon Sep 17 00:00:00 2001 From: Zamil Majdy <z.majdy1996@gmail.com> Date: Thu, 9 Mar 2017 09:31:50 +0700 Subject: [PATCH] #140382397 #4 disable host verification --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 570ad055..79c2c58c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,7 @@ staging: - git checkout UserStory1 - git pull - git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git + - echo -e "Host bot.recruit.id\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config - sshpass -p yukcarikape git push deployment UserStory1:master --force - cd .. - sshpass -p yukcarikape git push deployment UserStory1:master --force @@ -34,6 +35,7 @@ production: - cd PPLA1 - git checkout master - git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git + - echo -e "Host bot.recruit.id\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config - sshpass -p yukcarikape git push deployment master:master --force only: - master \ No newline at end of file -- GitLab