From 2520af8afd32c33ccfb9b89a66984c4938c7b65e Mon Sep 17 00:00:00 2001 From: Trezy Date: Sat, 1 Dec 2018 14:55:00 -0600 Subject: [PATCH] ci: Remove strict host key checking for Github By removing strict host key checking for Github, we shouldn't run into the issue where host authenticity verification stalls the deployment. --- .circleci/config.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 546eeff..9a0ad3f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ defaults: &defaults docker: - image: circleci/node - working_directory: /home/circleci/app + working_directory: ~/app @@ -139,6 +139,12 @@ jobs: - attach_workspace: at: . + - run: + command: | + mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config + git clone -b develop $CIRCLE_REPOSITORY_URL + cd $CIRCLE_PROJECT_REPONAME + - run: name: Release command: npx semantic-release