Deploy: shallow fetch + dynamische /curator-Seite für Docker-Build

This commit is contained in:
Hördle Bot
2025-12-03 15:16:38 +01:00
parent 28d14ff099
commit d7fee047c2
2 changed files with 10 additions and 7 deletions

View File

@@ -46,13 +46,10 @@ else
echo "⚠️ Could not determine database path from config files"
fi
# Pull latest changes
echo "📥 Pulling latest changes from git..."
git pull
# Fetch all tags
echo "🏷️ Fetching git tags..."
git fetch --tags
# Nur neueste Version holen (shallow fetch), vollständiges Repo ist im Deployment nicht nötig
echo "📥 Fetching latest commit (shallow clone) from git..."
git fetch --prune --tags --depth=1 origin master
git reset --hard origin/master
# Prüfe und erstelle/repariere Netzwerk falls nötig
echo "🌐 Prüfe Docker-Netzwerk..."