From ee7f3679ea8ebc2dd7543b90fc7cb12f6a06cf5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9goire=20KUBLER?= <gregoire.kubler@proton.me>
Date: Fri, 22 Mar 2024 14:44:35 +0100
Subject: [PATCH] chore : maybe an idea

---
 .gitlab/ci/build.gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml
index c3acae97..7b0a5015 100644
--- a/.gitlab/ci/build.gitlab-ci.yml
+++ b/.gitlab/ci/build.gitlab-ci.yml
@@ -50,7 +50,7 @@ build:ubuntu_cpp:
     - echo "${CI_PROJECT_URL}"
     - echo "${CI_PROJECT_NAMESPACE}"
     - echo "${CI_PROJECT_NAMESPACE_ID}"
-    - PROJECT_INFO=$(curl -s --header "PRIVATE-TOKEN:${CI_JOB_TOKEN}" "${API_URL}/projects/${CI_PROJECT_PATH}")
+    - PROJECT_INFO=$(curl -s --header "PRIVATE-TOKEN:${CI_JOB_TOKEN}" "${API_URL}/projects/${CI_PROJECT_ID}")
     - >
       if [[ ! $PULL_FROM_FORK ]]; then # nominal case : we are in the official project
         DEPENDENCY_ID=$(curl "${API_URL}/groups/${CI_PROJECT_NAMESPACE_ID}/projects?search=${DEPENDENCY_NAME}" | jq -r '.[0].id')
-- 
GitLab