Skip to content

Action for posting a message with text or embeds to a Guilded webhook

License

Notifications You must be signed in to change notification settings

guildedjs/guilded-webhook-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

guilded-webhook-action

GitHub CI workflows

Github Action for sending a message to a Guilded Webhook.

Usage

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?"

Customization

You must provide text content, or an embed with a title and description.

Args

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.

Env

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

Contributing

  1. Fork the repo
  2. Create a branch with your changes
  3. Create a pull request
  4. Wait for it to be reviewed and potentially merged

LICENSE

Licensed under the MIT License

About

Action for posting a message with text or embeds to a Guilded webhook

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published