Add notify.sh

This commit is contained in:
a 2025-03-12 03:18:30 +00:00
parent a2058382ff
commit 84872a5c05

7
notify.sh Normal file
View file

@ -0,0 +1,7 @@
#!/usr/bin/bash
curl \
-X POST \
-H "Content-Type: application/json" \
-d \'{"username": "system", "content": "umi instance failed: $1"}\'
$DISCORD_STATUS_WEBHOOK_URL