diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 06c97d136668e222409a3f470aeb969a4ee53532..a590e80a88428a419cda0c3b497beeac17630bc0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,21 @@
 # The Docker image that will be used to build your app
 image: ubuntu:latest
 # Functions that should be executed before the build script is run
-before_script:
-  - ":"
 pages:
+    before_script:
+    - apt-get update -qq
+    - echo "install python"
+    - apt-get install python3-dev -y
+    - apt install python3.10-venv -y
+    - echo "install quarto"
+    - apt-get install curl -y
+    - mkdir -p /opt/quarto/${QUARTO_VERSION}
+    - curl -o quarto.tar.gz -L "https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz"
+    - tar -zxvf quarto.tar.gz -C "/opt/quarto/${QUARTO_VERSION}" --strip-components=1
+    - ln -s /opt/quarto/${QUARTO_VERSION}/bin/quarto /usr/local/bin/quarto
+    - quarto install tinytex
+    - echo "check quarto installation"
+    - quarto check
   script:
     - rm -rf public
     - cd scripts