Commit 39392b46 authored by norvell's avatar norvell
Browse files

Update .gitlab-ci.yml

parent ceb9d7d3
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -123,7 +123,8 @@ stages:

.update-scripts-repo: &update-scripts-repo
  - cd $SCRIPTS_DIR
  - git remote set-branches --add origin $BASOP_CI_BRANCH_PC_REPO
  - 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
  - for branch in $(git branch | grep -v $BASOP_CI_BRANCH_PC_REPO | sed 's/\*//'); do git branch -D $branch; done
  - git remote prune origin
  - git prune