topcoder-platform / tc-notifications

4 stars 15 forks source link

deploy sendgrid templates when deploying docker image #64

Open gondzo opened 6 years ago

gondzo commented 6 years ago

The following env variables should be added to circleci {ENV}_SENDGRID_API_KEY {ENV}_SENDGRID_TEMPLATE_ID {ENV}_SENDGRID_VERSION_ID @vikasrohit can you create these variables for dev/prod and merge

vikasrohit commented 6 years ago

Done @gondzo. Added the 3 variables for dev environment. You can test the integration now.

vikasrohit commented 6 years ago

However, @gondzo, I would not like to publish the template every time we deploy, just to avoid even a minor difference in the template that might arise because of some library changes or any ill commit. Can we use an environment variable to do the email template publish? So, that we explicitly deploy the new template along with a production release.

vikasrohit commented 6 years ago

@gondzo Are we done with this?