From 0b8e3c8d2c68ae4acb9b3f3707de6f7d8d8cfed6 Mon Sep 17 00:00:00 2001
From: xdvora19 <xdvora19@fi.muni.cz>
Date: Sun, 26 May 2024 20:44:23 +0200
Subject: [PATCH] fix CI and add correct path to download deployment fiels

---
 .gitlab-ci.yml            | 3 +--
 docs/tech/installation.md | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d999785..b3799fd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,11 +8,10 @@ stages:
 
 pages:
   stage: deploy
-  before_script:
-    - ./utilities.sh
   script:
     - pip install poetry==1.8.2
     - poetry install
+    - poetry run ./utilities.sh
     - poetry run mkdocs build --strict --verbose --site-dir public
   artifacts:
     paths:
diff --git a/docs/tech/installation.md b/docs/tech/installation.md
index 6282478..f28cc7c 100644
--- a/docs/tech/installation.md
+++ b/docs/tech/installation.md
@@ -10,7 +10,7 @@ Before you begin, ensure that you have the following: a server with at least 1 c
 
 The installation files for deployment are zipped and available on GitLab. You can download them from the following location:
 ```
-https://gitlab.fi.muni.cz/inject/inject-docs
+https://gitlab.fi.muni.cz/inject/inject-docs/-/tree/main/files-from-repos?ref_type=heads
 ```
 These files include all necessary configuration files, scripts, and the .env file needed for deployment.
 
-- 
GitLab