Github Action for sending a message to a Guilded Webhook.
name: Testing Webhook Sending
on: [push, pull_request]
jobs:
webhook:
name: Execute Webhook
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: guildedjs/guilded-webhook-action@v1
env:
WEBHOOK_URL: "https://media.guilded.gg/webhooks/XXXXXX/YYYYY"
WEBHOOK_USERNAME: "Testing Webhook!"
WEBHOOK_AVATAR: "https://picsum.photos/200"
with:
content: "Hello, how's it going?"
You must provide text content, or an embed with a title and description.
| Name | Description |
|---|---|
| content | Text content for the message. |
| title | Title for the embed sent with the message. |
| description | Description for the embed sent with the message. |
| color | Color for the embed sent with the message. |
| footer | Footer for the embed sent with the message. |
| author_name | Author name for the embed sent with the message. |
| author_icon | Author icon for the embed sent with the message. |
| Name | Description |
|---|---|
| WEBHOOK_URL | Webhook URL |
| WEBHOOK_USERNAME | Username that the webhook will have for the message sent |
| WEBHOOK_AVATAR | URL for the avatar that the webhook will have for the message sent |
- Fork the repo
- Create a branch with your changes
- Create a pull request
- Wait for it to be reviewed and potentially merged
Licensed under the MIT License