How to deploy two different Grafana instances using the same repo?


I want to have two different Grafana builds where there will be small differences (eg: Title of the browser tab, two different style sheets, etc). I don’t want to keep two branches for the two builds in my repo. I would like to have a two configuration files and in the build time, I would like to choose the correct config file. Then from a custom service written in Grafana, to access this config file.

I would like to know whether there is a built in feature for this or there are any good approaches to achieve this.