From 67175fce0e9edf59a9eaa43f2fd66e0527225c4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu>
Date: Fri, 29 Jul 2022 11:47:37 +0200
Subject: [PATCH] Update .gitlab-ci.yml file

---
 .gitlab-ci.yml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 05f66eb49..35143337a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,10 +47,6 @@ stages:
   # update apt
   - apt-get update
 
-  # create 'ci_deps' folder (if not exists)
-  - cd $CI_PROJECT_DIR
-  - mkdir -pv ci_deps
-
 .license_header_template: &license_header_definition
   - cd $CI_PROJECT_DIR
 
@@ -88,7 +84,9 @@ stages:
   - fi
 
 .install_yamlschemacpp_template: &install_yamlschemacpp_definition
-  - cd ${CI_PROJECT_DIR}/ci_deps
+  - cd $CI_PROJECT_DIR
+  - mkdir -pv ci_deps
+  - cd ci_deps
   - if [ -d yaml-schema-cpp ]; then
   -   echo "directory yaml-schema-cpp exists"
   -   cd yaml-schema-cpp
-- 
GitLab