Auto-sync: 2026-03-20 08:11:49

This commit is contained in:
2026-03-20 08:11:49 +01:00
parent df6a08d519
commit f602945632

12
autosync.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
cd /workspace/homelab || exit 1
while true; do
if ! git diff --quiet || ! git diff --cached --quiet || [ -n "$(git ls-files --others --exclude-standard)" ]; then
git add .
git commit -m "Auto-sync: $(date '+%Y-%m-%d %H:%M:%S')" || true
git push
fi
sleep 300
done