mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 01:50:46 -05:00
Capture response data from the request...
This commit is contained in:
parent
fb5c0a5154
commit
19f504b410
@ -502,7 +502,7 @@ jobs:
|
||||
EMBED_DESCRIPTION="A new stable release build is now ready for download. 7-Zip is *required* to extract the release."
|
||||
fi
|
||||
|
||||
curl -H "Content-Type: application/json" \
|
||||
curl -i -H "Content-Type: application/json" \
|
||||
-X POST \
|
||||
-d "{\"username\": \"BuildBot\", \"avatar_url\": \"https://i.imgur.com/28JJJec.png\", \"content\": \"✨ **New Build Available!** ✨ (THIS IS A TEST)\", \"embeds\": [{\"title\": \"$EMBED_TITLE\", \"description\": \"$EMBED_DESCRIPTION\\n\\n**Build Name:**\\n$BUILD_NAME\\n\\n🚀 **Primary Download Link:**\\n$DOWNLOAD_LINK\\n\\n🔗 **Torrent Link:**\\n$TORRENT_LINK\\n\\n🧲 **Torrent Magnet Link:**\\n$MAGNET_LINK\\n\\n**Mirrors:**\\n\\n🚧 In order to conserve bandwidth, please consider using the *above* methods to download the release. If you have issues using those methods, you're free to download using any of the following HTTP mirrors.\\n\\n🚧 While the links *below* are not secret, **do not advertise them**. The primary MEGA link or torrent should be used to advertise any downloads.\\n\\n$DOWNLOAD_LINK\", \"url\": \"$DOWNLOAD_LINK\", \"color\": $EMBED_COLOR, \"footer\": {\"text\": \"$FOOTER_MESSAGE\"}, \"timestamp\": \"$TIMESTAMP\"}]}" \
|
||||
$DISCORD_WEBHOOK_URL
|
||||
|
Loading…
x
Reference in New Issue
Block a user