sendgrid

Send e-mail via Sendgrid

arguments

  • SENDGRID_APIKEY - API key from SendGrid (required)
  • SENDGRID_FROM - from header of mail (required)
  • SENDGRID_MAIL - mail where the letter will be sent, you can use comma divider to send on multiple mails (ex.: [email protected], [email protected])
  • SENDGRID_MESSAGE - Text of message for type message
  • SENDGRID_SUBJECT - subject header of mail (required)
  • SENDGRID_TEMPLATE - Template of message for type message
  • SENDGRID_TYPE - type of mail [build, message, custom] (required)
    TestMail:
  type: sendgrid
  arguments:
    SENDGRID_APIKEY: '${{SENDGRID_APIKEY}}'
    SENDGRID_MAIL: '${{SENDGRID_MAIL}}'
    SENDGRID_FROM: '${{SENDGRID_FROM}}'
    SENDGRID_SUBJECT: '${{SENDGRID_SUBJECT}}'
    SENDGRID_TYPE: '${{SENDGRID_TYPE}}'
    SENDGRID_MESSAGE: '${{SENDGRID_MESSAGE}}'
    SENDGRID_TEMPLATE: '${{SENDGRID_TEMPLATE}}'

  
github.com
Pavel Kostohrys
Dec 19, 2019