From d73c93c21ccca7fa50717c8663fc2227800f5faf Mon Sep 17 00:00:00 2001 From: admin-linexos Date: Thu, 28 Nov 2024 10:33:49 +0000 Subject: [PATCH] Actualiser recuperation_config.sh --- recuperation_config.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recuperation_config.sh b/recuperation_config.sh index ed774b2..124a13f 100755 --- a/recuperation_config.sh +++ b/recuperation_config.sh @@ -2,14 +2,15 @@ # Configuration des variables ORG="CONFIGS" +CLIENT="SFR" # Exemple de client BASE_URL="https://repolake.alc-crm.com" API_URL="$BASE_URL/api/v1" REPO_NAME=$(hostname) -REPO_URL="$BASE_URL/$ORG/$REPO_NAME.git" -REPO_PATH="/etc/gitea/CONFIGS/$REPO_NAME" # Ajusté pour inclure l'organisation correcte +REPO_URL="$BASE_URL/$ORG/$CLIENT/$REPO_NAME.git" +REPO_PATH="/etc/gitea/CONFIGS/$CLIENT/$REPO_NAME" # Ajusté pour inclure l'organisation correcte BRANCH="main" TOKEN="434ac97ae9def5ac02024971582e82dd35f89ee0" -REPO_URL_TOKEN="https://$TOKEN@repolake.alc-crm.com/$ORG/$REPO_NAME.git" +REPO_URL_TOKEN="https://$TOKEN@repolake.alc-crm.com/$ORG/$CLIENT/$REPO_NAME.git" HOSTNAME=$(hostname) echo "Début du script pour $HOSTNAME"