diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1db4c0394de48cbd82d5abbe4d7c581abcb9b277..58c2d1513e0bcc82b348e97d330699b0f0695ead 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -88,3 +88,14 @@ build-testenv:
       --cache-from $CI_REGISTRY_IMAGE
       -t $CI_REGISTRY_IMAGE .
     - docker push $CI_REGISTRY_IMAGE
+
+# Build the sphinx documentation and make it ready for deployment by Gitlab Pages
+# documentation:
+#   stage: deploy
+
+# Special job for serving the result
+pages:
+  stage: deploy
+  artifacts:
+    paths:
+      - public