diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1c0e60de50729f290c042a06aa9cab6675808fbe..27bb3435ab3faf7ac25633e52c19cad3bc32083a 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,7 +34,7 @@ pages-devel:
     - cp *.html .public
     - mv .public public
     - UPLOADPATH=file://$(pwd)/public
-    - curl -u tomcat:$TOMCATPASS "https://m4lab.hft-stuttgart.de/manager/text/deploy?path=/&update=true&war=$UPLOADPATH"
+    - curl --upload-file $UPLOADPATH -u tomcat:$TOMCATPASS "https://m4lab.hft-stuttgart.de/manager/text/deploy?path=/ROOT&update=true"
   artifacts:
     paths:
       - public