mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 05:10:47 -05:00
And here we go...
This commit is contained in:
parent
639a3bf6c9
commit
47dc4edece
@ -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_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[@]}]}"
|
FOOTER_MESSAGE="${FOOTER_MESSAGES[$RANDOM % ${#FOOTER_MESSAGES[@]}]}"
|
||||||
TIMESTAMP=$(date --iso-8601=seconds)
|
TIMESTAMP=$(date --iso-8601=seconds)
|
||||||
echo "BUILD_TYPE is: $BUILD_TYPE"
|
|
||||||
if [ "$BUILD_TYPE" == "bleeding" ]; then
|
if [ "$BUILD_TYPE" == "bleeding" ]; then
|
||||||
EMBED_COLOR=14423100
|
EMBED_COLOR=14423100
|
||||||
EMBED_TITLE="A New BLEEDING Build Released"
|
EMBED_TITLE="A New BLEEDING Build Released"
|
||||||
@ -531,5 +531,13 @@ jobs:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}' > payload_discord.json
|
}' > payload_discord.json
|
||||||
|
|
||||||
|
echo "Payload Generated:"
|
||||||
cat payload_discord.json
|
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
|
shell: bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user