This commit is contained in:
parent
b5314a7f3e
commit
ab4b67f14f
@ -3,14 +3,22 @@ set -e
|
|||||||
|
|
||||||
echo "[CI] Starte Deploy-Prozess für Volleyball CMS..."
|
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
|
cd backend
|
||||||
git pull origin main
|
git pull origin main
|
||||||
|
|
||||||
cd ../frontend
|
echo "[CI] Pull Frontend..."
|
||||||
|
cd ../
|
||||||
git pull origin main
|
git pull origin main
|
||||||
|
|
||||||
cd ..
|
echo "[CI] Docker Compose Build & Restart..."
|
||||||
docker-compose down
|
docker-compose down
|
||||||
docker-compose up --build -d
|
docker-compose up --build -d
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user