diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 313f2b054150eb410184dd38de07b34f8b7cd2f7..da820a4d0a408af07705814280b12b832d3d6835 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,12 +2,13 @@ image: python:3.6-alpine
 
 pages:
   script:
-  - apk add --no-cache pkg-config
-  - apk add --no-cache pkgconfig
-  - apk add --no-cache freetype
-  - pip install -r requirements.txt
+  - apk --no-cache add py3-pip python-dev
+  - pip install sphinx
+  - apk --no-cache add make
+  - cd docs && make html
+  - mv build/html/ public/
   artifacts:
     paths:
     - public
   only:
-  - master
+  - master
\ No newline at end of file