diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5952ed98a6f941f4cc09d2dff71fda75b00cb7fe..11649fc9a614ca8b5734552680536738e675fecb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,8 +8,9 @@ before_script: - mkdir -p ~/.ssh - chmod 700 ~/.ssh - ssh-keyscan -t rsa $GITLAB_SERVER > ~/.ssh/known_hosts + - rm -rf ~/.gitconfig - git config --global url."git@$GITLAB_SERVER:".insteadOf "https://gitlab.com/" - - git config --global url."git@$GITLAB_SERVER:".insteadOf "https://git.xx.network/" + - git config --global url."git@$GITLAB_SERVER:".insteadOf "https://git.xx.network/" --add - export PATH=$HOME/go/bin:$PATH stages: