diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 32fcdfe174cc4375758f264ecc94813a854ad3a4..bc112bbb369a2807c6eb2dec86c284d8bba9a19b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,14 +27,17 @@ build:
 publish:
   stage: deploy
   image: bravissimolabs/alpine-git
+  variables:
+    CI_DEBUG_TRACE: "true"
   before_script:
-    - mkdir -p ~/.ssh
+    - mkdir -pvm 0700 ~/.ssh
     - echo "$SSH_SECRET_DEPLOY_KEY" | tr -d '\r' > ~/.ssh/id_rsa
     - chmod 600 ~/.ssh/id_rsa
     - git config user.name "$GITLAB_USER_NAME"
     - git config user.email "$GITLAB_USER_EMAIL"
     - export VERSION=${CI_COMMIT_TAG:-`git describe --tags --always`}
     - echo $VERSION
+    - echo `git remote get-url origin`
   script:
     - git checkout ivy-repo || git checkout --orphan ivy-repo
     - git reset
@@ -43,7 +46,7 @@ publish:
     - git commit -m "[skip ci] Automatic release of version $VERSION"
     - git push --set-upstream origin ivy-repo
   after_script:
-    - rm -rf ~/.ssh
+    - rm -rfv ~/.ssh
   only:
     - tags
   tags: