Add Restic backup to remote repository in deploy script

This commit is contained in:
Hördle Bot
2025-12-03 19:19:11 +01:00
parent 2fa8aa0042
commit 863539a5e9
2 changed files with 80 additions and 0 deletions

View File

@@ -59,6 +59,9 @@ else
echo "⚠️ Could not determine database path from config files"
fi
# Restic backup to remote repository
./scripts/backup-restic.sh
# 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