gavination / Tremor-Trainer

2 stars 0 forks source link

Secrets injection for VS App Center #74

Closed gavination closed 2 years ago

gavination commented 2 years ago

the current solution makes use of an appsettings file to find secrets not meant to be checked into source control. With VS App Center as the CI/CD runner, we only have the ability to set these secrets as environment variables. We need a script that runs before the build to ensure the environment vars are piped over to an appsettings.json file in a way that matches the format of the template.appsettings.json file.