diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a386d1928980dedd60a361ed4cc53f04a77a329d..f61c2abc2a576ba024747a5813cbdf40315ac675 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ image: python:3.7-stretch
 stages:
     - style
     - tests
-    - pypi_test
+    - pypi_upload
 
 before_script:
     - pip install -U pip setuptools
@@ -26,3 +26,4 @@ pypi_test:
         - python setup.py sdist
         - twine upload -u openbis-team -p 4z2-3oZ-rFK-YNh --repository-url https://test.pypi.org/legacy/ dist/*
     when: manual
+    stage: pypi_upload