diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 82645209b976a98304d7a949d00bbb393cab062e..6497344b133d64e9e95d62c929fb29e5b6a8a0d3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,9 +5,22 @@ variables:
   DOCKER_REV: e517150438cd9df9564fb91adc4b42e2667b2bc1
 
 build-tex:
-  # image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV"
-  image: "ocaml/opam2:latest"
-  
+  image: "ocaml/opam2:latest" 
   script:
     - opam install ott
     - make haskell.tex
+  artifacts:
+    name: haskell-tex
+    paths:
+     - haskell.tex
+
+build-pdf:
+  image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV"
+  script:
+    - make haskell.pdf
+  artifacts:
+    name: haskell-pdf
+    paths:
+      - haskell.pdf
+  dependencies:
+    - build-tex