diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a621cc797a1cf3616479a73323b4bca56558c6aa..26f707b6645dc756ef97720bf62847944568958c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -61,6 +61,9 @@ build_linux_36:
 # Deploy targets
 .deploy_template: &deploy_job
   stage: deploy
+  before_script:
+    - "[ -r /root/.condarc ] && rm -f /root/.condarc"
+    - "[ -d /root/.conda ] && rm -rf /root/.conda"
   script:
     - curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
     - python3 bootstrap.py channel base