diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cf2c82eb94a94b2f7156e74643a711222026d3e1..9f9b45c9333dd610cf4b5cd6a4cba1e6390f2dfa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -60,6 +60,5 @@ publishgit-do:
     - (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
-    - export
+    - git fetch --unshallow origin
     - git push gith $CI_COMMIT_REF_NAME