papermc-build/discord-notify.sh
Ryan Voots 32b96f3eae
Some checks failed
ci/woodpecker/push/build/2 Pipeline was successful
ci/woodpecker/push/build/1 Pipeline was successful
ci/woodpecker/push/build/4 Pipeline failed
ci/woodpecker/push/build/3 Pipeline was successful
Also add discord notification
2024-12-04 10:29:04 -05:00

10 lines
246 B
Bash
Executable file

#!/bin/bash
set -euxo pipefail
# Message to send
MESSAGE="A build of the Docker container has finished."
# Send the message using curl
curl -X POST $WEBHOOK_URL \
-H "Content-Type: application/json" \
-d "{\"content\": \"$MESSAGE\"}"