A github action for creating and updating Sendinblue email templates programtically
Setup the action:
steps:
- uses: sdaoud/sendinblue-template-action
with:
SENDINBLUE_API_KEY: ${{secrets.SENDINBLUE_API_KEY}}
SENDER_NAME: "John Smith"
SENDER_EMAIL: "[email protected]"
REPLY_TO: "[email protected]"
templates: ./templates
The templates
variable should point to a directory of HTML templates to upload. This action will check for existing templates with the same name and update them, or create a new one.
You can set the subject line of each template with the following HTML code:
<!-- subject: Put your subject here -->