service-update-alerts/services/uptime-kuma/auto-update.sh
Jeena e56ef34a32 feat: Add Uptime Kuma auto-update
Docker compose update via SSH to abraham.jeena.net. Review examples
include real v2.x patches as auto and the v1→v2 migration as manual,
plus a synthetic v2→v3 breaking change example.

Also fix test_classifier.py version derivation for x.0.0 releases
where patch decrement would produce the same version, causing the
model to see a nonsensical "upgrading from 2.0.0 to 2.0.0" prompt.
2026-04-14 01:54:25 +00:00

4 lines
140 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
ssh jeena@abraham.jeena.net 'cd ~/uptime-kuma && docker compose pull && docker compose up -d' 2>&1 | tail -5