From 3ef931172990707afef42c681ee1853a6b74f9c5 Mon Sep 17 00:00:00 2001 From: Gato Date: Mon, 8 Jun 2026 08:25:44 +0200 Subject: [PATCH] fix(olhar): deploy depuis develop car main n'a pas encore la structure monorepo Co-Authored-By: Claude Sonnet 4.6 --- olhar/deploy.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/olhar/deploy.sh b/olhar/deploy.sh index ad1a236..d9cc4f1 100755 --- a/olhar/deploy.sh +++ b/olhar/deploy.sh @@ -7,12 +7,12 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # ── 1. Récupérer les sources ────────────────────────────────────────────────── if [ -d "${BUILD_DIR}/.git" ]; then - echo "▶ Mise à jour du dépôt (main)..." - git -C "${BUILD_DIR}" fetch origin main - git -C "${BUILD_DIR}" reset --hard origin/main + echo "▶ Mise à jour du dépôt (develop)..." + git -C "${BUILD_DIR}" fetch origin develop + git -C "${BUILD_DIR}" reset --hard origin/develop else echo "▶ Clonage du dépôt..." - git clone --branch main --depth 1 "${REPO_URL}" "${BUILD_DIR}" + git clone --branch develop --depth 1 "${REPO_URL}" "${BUILD_DIR}" fi # ── 2. Build des images ───────────────────────────────────────────────────────