Posts build statuses to Discord via webhooks. If a message ID is provided when invoking, the specified message will be edited instead of creating a new one, keeping reporting channels tidy.
## Inputs & outputs
```yaml
inputs:
webhook-url:
description: "Discord webhook url messages should be sent to."
description: "Style to attach to the message element."
default: "info"
message-id:
description: "Message ID to post to. If specified, the message will be updated instead of creating a new one."
outputs:
message-id:
description: "ID of the message created or edited."
```
## Usage
Unless a `message-id` input is provided, new messages are created on every invocation. The message ID can be passed around between jobs using the `@actions/upload-artifact` and `@actions/download-artifact` actions: