diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9bfbcb4ceb41b76263ed69bd46e2eef1c0ff5091..a5169958e4ee4ed6591fd0473a6e4ea78b7bfbb3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,10 +123,8 @@ stages: .update-scripts-repo: &update-scripts-repo - cd $SCRIPTS_DIR - - git remote set-branches --add origin $BASOP_CI_BRANCH_PC_REPO - - git remote prune origin - - git branch - - git fetch + - sed -i '/fetch/d' .git/config # Remove all fetch lines to clean out dead links + - git remote set-branches --add origin $BASOP_CI_BRANCH_PC_REPO # Add currently used branch - git checkout $BASOP_CI_BRANCH_PC_REPO - git pull - cd -