diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c330e9a49779dea68fc601d21a81fa53468d8a4f..cf2c82eb94a94b2f7156e74643a711222026d3e1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,6 +57,7 @@ publishgit-do:
   script:
     - apt-get update 
     - apt-get install -y git
+    - (git remote rm gith) || echo "Not found"
     - (git remote -v | grep gith) || git remote add gith "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/eflows4hpc/data-logistics-service.git"
     - git remote -v
     - git show-ref