diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 53e3ec6a87aab1cf0b6760885c27ade75b484109..7c51269b39b7b7d5cc7da5dc49c8b1246edabc06 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,8 +19,8 @@ upload:
   image: python:3.6
   before_script:
     - pip install twine
-  script:
     - mv "$pypirc" $HOME/.pypirc
+  script:
     - python setup.py bdist_wheel
     - twine upload dist/*
   variables: *variables