From 45bb904534b7fba924f9f912786b4ba7ba856571 Mon Sep 17 00:00:00 2001 From: Jakub Pelka <jakub@elixxir.io> Date: Wed, 14 Jul 2021 16:49:49 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 48e753579..f10f6a261 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,10 +18,10 @@ before_script: - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh - chmod 700 ~/.ssh - - ssh-keyscan -t rsa gitlab.com > ~/.ssh/known_hosts - - git config --global url."git@gitlab.com:".insteadOf "https://gitlab.com/" + - ssh-keyscan -t rsa $GITLAB_SERVER > ~/.ssh/known_hosts + - git config --global url."git@$GITLAB_SERVER:".insteadOf "https://gitlab.com/" + - git config --global url."git@$GITLAB_SERVER:".insteadOf "https://git.xx.network/" - export PATH=$HOME/go/bin:$PATH - - export GOPRIVATE="*gitlab.com/elixxir/*,*gitlab.com/xx_network/*" stages: -- GitLab