Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
mail

GitHub Action

Mailgun Template Action

v1

Mailgun Template Action

mail

Mailgun Template Action

Mailgun Template creation and version management

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Mailgun Template Action

uses: gyto/mailgun-template-action@v1

Learn more about this action in gyto/mailgun-template-action

Choose a version

Hello world javascript action

This action prints "Hello World" or "Hello" + the name of a person to greet to the log.

Inputs

Key Required Description
html-file Yes Path to file containing the HTML email
mailgun-api-key Yes Mailgun Api Key
mailgun-domain Yes Mailgun domain is used for templates
mailgun-template Yes Mailgun template name

Example usage

- name: "Create password reset template"
  uses: gyto/hello-world-javascript-action@v1
  with:
    html-file: './build/register.html'
    mailgun-api-key: ${{ secrets.MAILGUN_KEY }}
    mailgun-domain: "mydomain.fansy.com",
    mailgun-template: "register-template"