diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 62cd9f781e4d327bb72aef116ca66877806c4a9c..3a315ff6a4a0b0ba674f59e468ba53941f14a7c6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,7 +20,7 @@ deploy-test:
     - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
   script:
     - cd /opt/pyzebra
-    - git pull origin master --tags
+    - git pull origin main --tags
     - source /opt/miniconda3/etc/profile.d/conda.sh
     - conda activate test
     - conda build ./conda-recipe