From f777c10353ee2eb44b32682ce8e95a81b1b04c52 Mon Sep 17 00:00:00 2001 From: Levin Faber Date: Wed, 8 May 2019 20:00:57 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d7a4943..485854b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,10 +7,7 @@ build_frontend: image: registry.gitlab.com/fia72-dev/eva_lernsituation/frontend-build before_script: - echo "${DEPLOY_ENV_KEY}" > /workdir/deploy_key - - mkdir -p ~/.ssh - - echo "${SSH_KNOWN_HOSTS}"> ~/.ssh/known_hosts - - chmod 644 ~/.ssh/known_hosts - - cat /workdir/deploy_key + - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - cp -r Frontend/src/ /workdir/src/ - cp -r Frontend/public/ /workdir/public/ script: