Skip to content

Custom Github action to automate updating mandrill transactional templates from Github

Notifications You must be signed in to change notification settings

saurishkar/mailchimp-templates-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

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mailchimp-templates-action

A github action to trigger automatic adding/updating of mailchimp transactional templates (mandrillapp) from a github repository. Uses mailchimp/transactional node api


Template formats

  • .html

Inputs

  • mandrill_key - mandrill transactional api key
  • templateNames - A list of comma separated file names with extensions (Ex: a.html,b.html,c.html)

Actions allowed

  • Adding a new template
  • Updating a template

NOTE: Both Adding / Updating templates will be published by default after the action


Usage

Under your github workflow

- name: Update templates
        uses: "saurishkar/mailchimp-templates-action@<version>"
        with:
          templateNames: <your comma separated filenames>
          mandrill_key: ${{ secrets.mandrill_key }}

Replace <version> with the correct version
Set mandrill_key under your repository secrets

About

Custom Github action to automate updating mandrill transactional templates from Github

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published