diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1fcc749cc9f0914a8f9b49bd98648b5d975b6805..2b2f46e1ced98f77ad21037be26cd976cf5dd4c8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,11 @@ image: python:3.7-alpine
 
 build_sphinx:
   stage: build
+  tags:
+    - hpvm
   script:
-  - pip install -U sphinx sphinx-autodoc-typehints sphinx-rtd-theme numpydoc
-  - sphinx-build -b html . public
+    - pip install -U sphinx sphinx-autodoc-typehints sphinx-rtd-theme numpydoc
+    - sphinx-build -b html hpvm/docs/ public/
+  artifacts:
+    paths:
+    - public