data-for-change / anyway

ANYWAY - Car accidents map
http://www.anyway.co.il
MIT License
77 stars 243 forks source link

Create an alert for news flashes that might be worth publishing #1913

Open atalyaalon opened 3 years ago

atalyaalon commented 3 years ago

Initial definition will be as follows:

Alert will be sent in the following channels:

  1. Slack: A new slack channel we'll create for that purpose
  2. Emails: anyway@anyway.co.il, @galraij and my own email

@galraij @MichalOren any comments?

afedj commented 3 years ago

@OriHoch

The Slack webhook URL is a secret according to their documentation, what would be the best practice for storing the secret? Seems to me the URL should only be available for the production instance, otherwise the channel might get spammed when people run the scraping process in development.

Perhaps using the production .env file?

OriHoch commented 3 years ago

yes, same way we handle all the other production secrets