Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow email_subject to be set via environment variable #103

Open
sgbaird opened this issue Mar 21, 2024 · 0 comments
Open

Allow email_subject to be set via environment variable #103

sgbaird opened this issue Mar 21, 2024 · 0 comments

Comments

@sgbaird
Copy link
Contributor

sgbaird commented Mar 21, 2024

I used the Deploy to Heroku button, and I've really liked this so far! I even got SendGrid set up without a ton of hassle (after I figured out some issues with getting a Twilio account - seemed to go OK when I chose "Login with Google"), and the email to judges seems to be working. However, I'd really like to be able to customize the subject line for the email via an environment variable.

email_subject: null

I'm trying to find an easy workaround that still uses Heroku, but it seems like I might need to make a separate repository (e.g., fork), and use some trickery described in https://help.heroku.com/XOBUHLKQ/why-do-i-see-a-message-you-appear-to-have-cloned-an-empty-repository-when-using-heroku-git-clone to get things connected (see image below, since the link seems to require logging in).

image

I'm checking to see if I can just commit a config.yaml file in the empty repository (EDIT: doesn't work) or if I need to go through the instructions above. Note that opening up an editor in the Heroku console and making the file isn't an option, since any changes will be lost as soon as the app is restarted (every 24 hrs apparently). Either way, the only thing I'd really like to customize is having the subject line of the email include my event name and "Judging" so it's really obvious.

My event is https://ac-bo-hackathon.github.io/, so the subject would be something like "BO Hackathon Judging Instructions"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant