diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6fd4b9474dbcc3bb4b6db2a92d6151ae9aec9030..b802fb26a453edcce9db722bd5f5b5d3774ab645 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,7 +35,7 @@ build:
     - chmod 700 ~/.ssh
     - ssh-keyscan $GIT_MIRROR_HOST 2>&1 | grep -vE '^#' > ~/.ssh/known_hosts
     - chmod 644 ~/.ssh/known_hosts
-    - git remote add mirrorTarget $GIT_MIRROR_TARGET
+    - git remote add mirrorTarget $GIT_MIRROR_TARGET || true
     - git push -u mirrorTarget --all
     - git push -u mirrorTarget --tags