Add notify.sh
This commit is contained in:
parent
a2058382ff
commit
84872a5c05
1 changed files with 7 additions and 0 deletions
7
notify.sh
Normal file
7
notify.sh
Normal 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
|
Loading…
Add table
Reference in a new issue