saurishkar / mailchimp-templates-action

Custom Github action to automate updating mandrill transactional templates from Github
1 stars 2 forks source link
email-template mailchimp mandrill mandrill-node

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

Inputs

Actions allowed

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