summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2022-03-14 15:33:19 -0400
committerGitHub <noreply@github.com>2022-03-14 15:33:19 -0400
commit1380ad46772737fd9a21a4ff4be9f61d81b59c4b (patch)
tree09f13007bdf1c184b775ac52f5eb9ccaeca5d0e8
parent1e04b7c9e8473ed56907425f4feb32c7ef019289 (diff)
parent4c10b65737047df422253ddab1e59a0e711445fa (diff)
Merge pull request #841 from GriffinRichards/sync-webhookHEADmaster
Add line breaks around webhook output
-rwxr-xr-x.github/calcrom/webhook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/calcrom/webhook.sh b/.github/calcrom/webhook.sh
index 86da74c87..f47181f76 100755
--- a/.github/calcrom/webhook.sh
+++ b/.github/calcrom/webhook.sh
@@ -13,4 +13,4 @@ if [ ! -f $map_file ]; then
fi
output=$(perl $(dirname "$0")/calcrom.pl $build_name.map | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g')
-curl -d "{\"username\": \"$CALCROM_DISCORD_WEBHOOK_USERNAME\", \"avatar_url\": \"$CALCROM_DISCORD_WEBHOOK_AVATAR_URL\", \"content\":\"\`\`\`$build_name progress:\\n$output\`\`\`\"}" -H "Content-Type: application/json" -X POST $CALCROM_DISCORD_WEBHOOK_URL
+curl -d "{\"username\": \"$CALCROM_DISCORD_WEBHOOK_USERNAME\", \"avatar_url\": \"$CALCROM_DISCORD_WEBHOOK_AVATAR_URL\", \"content\":\"\`\`\`\\n$build_name progress:\\n$output\\n\`\`\`\"}" -H "Content-Type: application/json" -X POST "$CALCROM_DISCORD_WEBHOOK_URL"