From ab4b67f14f99869848b3d4ffaaeeb10b394e4013 Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 2 Jun 2025 17:35:22 +0000 Subject: [PATCH] Added submodule --- .ci/deploy.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.ci/deploy.sh b/.ci/deploy.sh index 67cbe53b7..4db532ec4 100755 --- a/.ci/deploy.sh +++ b/.ci/deploy.sh @@ -3,14 +3,22 @@ set -e echo "[CI] Starte Deploy-Prozess für Volleyball CMS..." -cd .. +# Sicherstellen, dass wir im richtigen Verzeichnis sind +CI_ROOT=$(pwd) +echo "[CI] Arbeitsverzeichnis: $CI_ROOT" + +# Optional: Submodules nochmal aktualisieren (zur Sicherheit) +git submodule update --init --recursive + +echo "[CI] Pull Backend..." cd backend git pull origin main -cd ../frontend +echo "[CI] Pull Frontend..." +cd ../ git pull origin main -cd .. +echo "[CI] Docker Compose Build & Restart..." docker-compose down docker-compose up --build -d