10 lines
246 B
Bash
Executable file
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\"}"
|