An open API service indexing awesome lists of open source software.

https://github.com/saurishkar/mailchimp-templates-action

Custom Github action to automate updating mandrill transactional templates from Github
https://github.com/saurishkar/mailchimp-templates-action

email-template mailchimp mandrill mandrill-node

Last synced: 4 months ago
JSON representation

Custom Github action to automate updating mandrill transactional templates from Github

Awesome Lists containing this project

README

          

# 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@"
with:
templateNames:
mandrill_key: ${{ secrets.mandrill_key }}
```
**Replace `` with the correct version**


**Set `mandrill_key` under your repository secrets**