Hello Stéphane Dondyas Thanks for the comment and reaching out. You can use Heroku’s environment variable. That way, you wont have your firebase config in github but in your heroku application.
You can learn more about it here: https://devcenter.heroku.com/articles/config-vars