I'm developing my first OSS project hosted on GitHub. It's a Ionic 4 (Angular) project available on https://github.com/AlanCrevon/LeCoinDuProf
It's using a firebase backend, so I need to store important data such as apiKey in environment.ts file, but I don't want them to be available on GitHub.
Yet, I need these variables to be available by travis so that it can build, test and deploy the app.
If I understand correctly, I'm supposed to configure environment secrets in Github's settings, but I don't understand how to give this variables back to the ng build.
Can anyone clarify this point ?
Thanks in advance.