From 644c015201f167269145ef7c223c73577b2cd96b Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Tue, 30 Jan 2024 18:36:56 +0100
Subject: [PATCH] venv

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7ac8557190..fd429c0c4c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -630,7 +630,7 @@ docs-latest:
     - cp ./.docs/redirect.html ./final/index.html
     - find .docs/ -type f -exec sed -i -e "s/__APPVERSION__/latest/g" {} \;
     - find .docs/ -type f -exec sed -i -e "s/__CHARTVERSION__/${CHART_VERSION}/g" {} \;
-    - mkdocs build && cp -r ./site ./final/latest
+    - source ./venv/bin/activate && mkdocs build && cp -r ./site ./final/latest
     - cp -r ./swagger/latest ./final/latest/swagger
   cache:
     paths:
@@ -689,7 +689,7 @@ docs-1.4:
     - mkdir -p ./final
     - find .docs/ -type f -exec sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" {} \;
     - find .docs/ -type f -exec sed -i -e "s/__CHARTVERSION__/${CHART_VERSION}/g" {} \;
-    - mkdocs build && cp -r ./site ./final/${APP_VERSION}
+    - source ./venv/bin/activate && mkdocs build && cp -r ./site ./final/${APP_VERSION}
     - cp -r ./swagger/${APP_VERSION} ./final/${APP_VERSION}/swagger
   cache:
     paths:
-- 
GitLab