diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9c10568dcd88111fb51b72b64e3065d72c200e43..9e6ddd1874f91e84f02fda595140c194e5322b02 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -89,4 +89,4 @@ publishgit-do:
     - (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 fetch --unshallow origin
-    - git push gith $CI_COMMIT_REF_NAME
+    - git push gith +$CI_COMMIT_REF_NAME:refs/heads/main