Add: Daily Brain sync script (03:30 UTC)

This commit is contained in:
2026-04-11 18:09:53 -04:00
parent 10da65cd1b
commit bf531d4739
2 changed files with 4 additions and 0 deletions

View File

@@ -4,3 +4,6 @@
fatal: unable to access 'https://168.231.66.248:32771/ParzivalTD/Brain.git/': GnuTLS, handshake failed: An unexpected TLS packet was received. fatal: unable to access 'https://168.231.66.248:32771/ParzivalTD/Brain.git/': GnuTLS, handshake failed: An unexpected TLS packet was received.
[2026-04-11 18:09:28] ⚠️ Brain sync push failed (may retry on next sync) [2026-04-11 18:09:28] ⚠️ Brain sync push failed (may retry on next sync)
[2026-04-11 18:09:39] Starting Brain sync... [2026-04-11 18:09:39] Starting Brain sync...
[2026-04-11 18:09:39] Committed changes
fatal: unable to access 'https://168.231.66.248:32771/ParzivalTD/Brain.git/': GnuTLS, handshake failed: An unexpected TLS packet was received.
[2026-04-11 18:09:39] ⚠️ Brain sync push failed (may retry on next sync)

View File

@@ -17,6 +17,7 @@ mkdir -p "$(dirname "$LOG_FILE")"
# Configure git if needed # Configure git if needed
git config --global user.email "thelegion@stacklegion.dev" >/dev/null 2>&1 git config --global user.email "thelegion@stacklegion.dev" >/dev/null 2>&1
git config --global user.name "ParzivalTD" >/dev/null 2>&1 git config --global user.name "ParzivalTD" >/dev/null 2>&1
git config http.sslVerify false >/dev/null 2>&1
# Check if remote exists, if not add it # Check if remote exists, if not add it
if ! git remote get-url brain >/dev/null 2>&1; then if ! git remote get-url brain >/dev/null 2>&1; then