need to define content type now to send to discord

This commit is contained in:
thelamer
2019-11-24 04:20:29 -08:00
parent 9712d54cbd
commit 6baa0c3e51
+2 -2
View File
@@ -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": [