diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c806577b1a26fe1c2350de8c2d3efadb80e369fe..13218045c31b86e6f2ab99e2d8a135e56ddd935c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -81,7 +81,10 @@ pages:
   script:
   - pip install -U sphinx m2r2 furo graphviz pyUML
   - pip install -e .
-  - cd docs/diagrams
+  - mkdir public#/diagrams
+  - cp docs/diagrams public
+  #- cp docs/diagrams/class_diagram.py public/diagrams
+  - cd public/diagrams
   - python class_diagram.py
   - cd ../../
   - sphinx-build -b html docs/source public