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.
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 anappsettings.json
file in a way that matches the format of thetemplate.appsettings.json
file.