diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9655c81dfb07b7b8c6c635eb24010402ee9de2cd..df890dc80ad0f55c6aa3b61173d5c37ae8d16e1e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,19 +1,22 @@
 variables:
   GIT_SUBMODULE_STRATEGY: recursive
 
-image: gitlab.liu.se:5000/starcraft-ai-course/pycommandcenter  
-
 stages:
     - compile
     - deploy
 
 compile:
+  image: gitlab.liu.se:5000/starcraft-ai-course/pycommandcenter  
   stage: compile
   script:
     - mkdir build
     - cd build
     - cmake ..
     - make library
+  artifacts:
+    paths:
+      - docs
+      - build
   only:
     - master
     - python12_update
@@ -21,7 +24,7 @@ compile:
 pages:
   stage: deploy
   script:
-    - cd ../docs
+    - cd docs
     - python3 library_import_check.py
     - make html
     - cd ..