Loading .gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -225,10 +225,10 @@ stages: .update-scripts-repo: &update-scripts-repo - cd $SCRIPTS_DIR - 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 remote set-branches --add origin "$BASOP_CI_BRANCH_PC_REPO" # Add currently used branch - git fetch - git restore . # Just as a precaution - git checkout $BASOP_CI_BRANCH_PC_REPO - git checkout "$BASOP_CI_BRANCH_PC_REPO" - git pull - cd - - cp -r $SCRIPTS_DIR/ci . Loading Loading
.gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -225,10 +225,10 @@ stages: .update-scripts-repo: &update-scripts-repo - cd $SCRIPTS_DIR - 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 remote set-branches --add origin "$BASOP_CI_BRANCH_PC_REPO" # Add currently used branch - git fetch - git restore . # Just as a precaution - git checkout $BASOP_CI_BRANCH_PC_REPO - git checkout "$BASOP_CI_BRANCH_PC_REPO" - git pull - cd - - cp -r $SCRIPTS_DIR/ci . Loading