This GitHub action can be used to send a build status to a Discord webhook
Set the environment variable WEBHOOK_URL
to your Discord webhook.
action "Send Build Status" {
uses = "WalshyDev/Discord-Status-Webhook@master"
args = "building"
secrets = ["WEBHOOK_URL"]
}
Sends an embed with the color code #2ECC71 and with the title "Passed"
action "Send Build Status" {
uses = "WalshyDev/Discord-Status-Webhook@master"
args = "success"
secrets = ["WEBHOOK_URL"]
}
Sends an embed with the color code #E74C3C and with the title "Failed"
action "Send Build Status" {
uses = "WalshyDev/Discord-Status-Webhook@master"
args = "failure"
secrets = ["WEBHOOK_URL"]
}
Sends an embed with the color code #00c8ff and with the title "Deployed"
action "Send Deployed Status" {
uses = "WalshyDev/Discord-Status-Webhook@master"
args = "custom 51455 Deployed"
secrets = ["WEBHOOK_URL"]
}
The Dockerfile and associated scripts and documentation in this project are released under the MIT License.