0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-12 20:50:45 -05:00

And here we go...

This commit is contained in:
Refringe 2024-03-11 15:13:07 -04:00
parent 639a3bf6c9
commit 47dc4edece
Signed by: Refringe
GPG Key ID: 7715B85B4A6306ED

View File

@ -491,7 +491,7 @@ jobs:
FOOTER_MESSAGES=("You look great today!" "Powered by coffee" "Did you remember to hydrate today?" "Have you tried turning it off and on again?" "In Chomp we trust" "Beep boop, I'm a bot" "Keep calm and commit your code" "May the source be with you" "Go to bed, Terk" "Please direct all support requests to Drakia" "Meaw")
FOOTER_MESSAGE="${FOOTER_MESSAGES[$RANDOM % ${#FOOTER_MESSAGES[@]}]}"
TIMESTAMP=$(date --iso-8601=seconds)
echo "BUILD_TYPE is: $BUILD_TYPE"
if [ "$BUILD_TYPE" == "bleeding" ]; then
EMBED_COLOR=14423100
EMBED_TITLE="A New BLEEDING Build Released"
@ -531,5 +531,13 @@ jobs:
}
]
}' > payload_discord.json
echo "Payload Generated:"
cat payload_discord.json
echo "Sending Payload..."
curl -H "Content-Type: application/json" \
-X POST \
--data-binary @payload_discord.json \
$DISCORD_WEBHOOK_URL
shell: bash