A github action to trigger automatic adding/updating of mailchimp transactional templates (mandrillapp) from a github repository.
Uses mailchimp/transactional
node api
.html
mandrill_key
- mandrill transactional api keytemplateNames
- A list of comma separated file names with extensions (Ex: a.html,b.html,c.html)
- Adding a new template
- Updating a template
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