diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 184cb69c4b8a7c4958060587a6ea0a46d83ef2f8..173fb138319fc0bd3923ad2077c522145e4122f6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,7 @@ stages:
     - document
     - publish
 
+# Builds code and generates documentation
 build:
   stage: build
   script:
@@ -26,6 +27,10 @@ build:
   artifacts:
     paths:
     - application/target/$PROJECT_ARTIFACT_ID-*.zip
+    - MeshModel/target/site/apidocs/
+    - GUI/target/site/apidocs/
+    - Comparison/target/site/apidocs/
+    - target/site/apidocs/
     expire_in: 1 hour
     when: on_success
 
@@ -43,28 +48,27 @@ test:
     - if: '$CI_COMMIT_BRANCH'
 
 # generate documentation when commiting to master and the VERSION.txt file has changed
-document:
-  stage: document
-  script:
-    - mvn -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:javadoc
-    - mvn -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:aggregate
-  tags:
-    - shared-fi
-  rules:
-    - if: '$CI_COMMIT_BRANCH'
-    - if: '$CI_COMMIT_BRANCH == "master"'
-      changes:
-        - VERSION.txt
-    - if: '$CI_COMMIT_BRANCH'
-      when: never
-  artifacts:
-    paths:
-    - MeshModel/target/site/apidocs/
-    - GUI/target/site/apidocs/
-    - Comparison/target/site/apidocs/
-    - target/site/apidocs/
-    expire_in: 1 hour
-    when: on_success
+#document:
+#  stage: document
+#  script:
+#    - mvn -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:javadoc
+#    - mvn -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:aggregate
+#  tags:
+#    - shared-fi
+#  rules:
+#    - if: '$CI_COMMIT_BRANCH == "master"'
+#      changes:
+#        - VERSION.txt
+#    - if: '$CI_COMMIT_BRANCH'
+#      when: never
+#  artifacts:
+#    paths:
+#    - MeshModel/target/site/apidocs/
+#    - GUI/target/site/apidocs/
+#    - Comparison/target/site/apidocs/
+#    - target/site/apidocs/
+#    expire_in: 1 hour
+#    when: on_success
 
 # publish release when commiting to master and the VERSION.txt file has changed
 publish: