diff --git a/notify.sh b/notify.sh new file mode 100644 index 0000000..ae05543 --- /dev/null +++ b/notify.sh @@ -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