diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a94146d7d71a65d3fc2eb078907971251e2e7bb1..9aa379de58088278f52d08345819b555af8e7e39 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,7 +42,7 @@ upload:
   needs: ['test', ]
   image: python:latest
   only:
-    - master
+    - main
   script:
     - pip install "setuptools>=62.6" twine
     - python setup.py sdist