diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e36cd56458474e7e88dc0fc1b64ddda8dbb307fc..c28ef0ece5de908e1bdcb195ee007ee42b2022f1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -344,6 +344,7 @@ deploy-doc:
   <<: *setup_ssh
   stage: deploy
   when:  manual
+  image: python:3.5
 
   tags:
     - docker
@@ -370,5 +371,4 @@ deploy-pypi:
 
   script:
     - pip install setuptools wheel twine
-    - ls dist/*
-    - echo "twine upload dist/*"
+    - twine upload dist/*