You've already forked netboot.xyz
mirror of
https://github.com/Dasharo/netboot.xyz.git
synced 2026-03-06 15:00:09 -08:00
need to define content type now to send to discord
This commit is contained in:
+2
-2
@@ -13,7 +13,7 @@ fi
|
||||
|
||||
# send status to discord
|
||||
if [ "${TYPE}" == "failure" ]; then
|
||||
curl -X POST --data \
|
||||
curl -X POST -H "Content-Type: application/json" --data \
|
||||
'{
|
||||
"avatar_url": "https://avatars.io/twitter/travisci",
|
||||
"embeds": [
|
||||
@@ -26,7 +26,7 @@ if [ "${TYPE}" == "failure" ]; then
|
||||
}' \
|
||||
${DISCORD_HOOK_URL}
|
||||
else
|
||||
curl -X POST --data \
|
||||
curl -X POST -H "Content-Type: application/json" --data \
|
||||
'{
|
||||
"avatar_url": "https://avatars.io/twitter/travisci",
|
||||
"embeds": [
|
||||
|
||||
Reference in New Issue
Block a user