diff --git a/.gitlab-ci-simple.yml b/.gitlab-ci-simple.yml
index c2dddb736feaf3fed1a64be99c7d7a969a32ff6f..0c06eb0a10c7dddf8527ba8d05c4a653f6d11646 100644
--- a/.gitlab-ci-simple.yml
+++ b/.gitlab-ci-simple.yml
@@ -10,14 +10,16 @@ stages:
 # build latex/thesis.tex -> latex/thesis.pdf using pdflatex
 # shell-escape functionality is required by the minted package
 build:
+  stage: build
   script:
     - cd latex
     - latexmk -pdf --shell-escape thesis.tex
-artifacts:
-  paths:
+  artifacts:
+    paths:
     - latex/thesis.pdf
 
 # a validation prints "PASS + something" is the file is PDF/A conformant
 validate:
+  stage: validate
   script:
     - pdfa-validate latex/thesis.pdf|grep '^PASS'