Skip to content

mmichailidis/sendgrid-mail-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

12 Commits
 
 
 
 
 
 

Repository files navigation

SendGrid Mail Action

This actions send a mail using the SendGrid API to the defined mails

Inputs

sendgrid-token

Required The token of the SendGrid that will be used.

mail

Required The mail/mails at which the mails will be send. Can be one or more. For example

where "," can be anything as it can be defined at the splitterator.

from

Optional The mail that will be shown as the sender. Default : "[email protected]"

subject

Optional The subject of the mail. Default: GitHub action notification

individual

Optional Defines if it should be one email with multiple address or multiple emails with a single address

text

Optional The subject of the mail. Variables $EVENT$, $ISSUE$, $ACTION$'. Default: The following action $ACTION$ produced an event $EVENT$

splitterator

Optional The splitterator used for the mail list. Default: ','

Example usage

- name: SendGrid Action
  uses: mmichailidis/[email protected]
  with:
    sendgrid-token: 'sample'
    mail: '[email protected]'