From 4a90b76ef740f2bb8f2a7ac8929df69204548f05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Roman=20Dvo=C5=99=C3=A1k?= <xdvora19@fi.muni.cz>
Date: Thu, 30 May 2024 00:33:32 +0200
Subject: [PATCH] fix pipeline

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f18b1ff..dace32c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,8 +14,6 @@ setup:
     - apt-get update
     - apt-get install -y zip
   script:
-    - pip install poetry==1.8.2
-    - poetry install
     - ./utilities.sh # Running the script to setup directories and copy files
     - mkdir -p files-from-repos
     - zip -r ./files-from-repos/deployment-files.zip ./frontend/docker/nginx-deployment/
@@ -31,6 +29,8 @@ setup:
 build:
   stage: build
   script:
+    - pip install poetry==1.8.2
+    - poetry install
     - poetry run mkdocs build --strict --verbose --site-dir public
   artifacts:
     paths:
-- 
GitLab