From 12d6918c6f201be96ab292b0efd1cbdd39b90bba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr>
Date: Thu, 4 Mar 2021 12:13:49 +0100
Subject: [PATCH] ci: ne passe pas les identifiants dans l'URL du repository.

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e129ce1..99e9559 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,4 +15,4 @@ packagist:
         --user-agent 'irstea-ci-config/6.x (contact: dsi.poleis@irstea.fr)' \
         --fail \
         "https://packagist.org/api/update-package?username=${PACKAGIST_USERNAME}&apiToken=${PACKAGIST_TOKEN}" \
-        --data '{"repository":{"url":"'${CI_REPOSITORY_URL}'"}}'
+        --data '{"repository":{"url":"https://'${CI_SERVER_HOST}'/'${CI_PROJECT_PATH}'.git"}}'
-- 
GitLab