diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 37a1c8716456b8ada6bd3b7c2afc011f59565f20..57640c77067a298e21a9ed2f9f16ddaf1514c489 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@ stages:
   - test
   - ragdoc_build
   - ragdoc_view
-  - publish
+  - deploy
 
 before_script:
   - export GRADLE_USER_HOME=`pwd`/.gradle
@@ -72,7 +72,7 @@ ragdoc_view:
 
 pages:
   image: python:3.8-buster
-  stage: publish
+  stage: deploy
   needs:
     - ragdoc_view
     - test
@@ -85,3 +85,12 @@ pages:
   artifacts:
     paths:
       - public
+
+publish_dev:
+  image: openjdk:11
+  stage: deploy
+  needs:
+    - test
+  script:
+    - "./gradlew setDevVersionForCI"
+    - "./gradlew publish"
\ No newline at end of file