cicd-github-actions/test/GitHubActionsDemo.Api.Integration.Tests/Startup.cs
2023-07-10 14:48:10 +01:00

16 lines
No EOL
426 B
C#

using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
namespace GitHubActionsDemo.Api.Integration.Tests;
public class Startup
{
public void ConfigureHost(IHostBuilder hostBuilder)
{
var config = new ConfigurationBuilder()
.AddEnvironmentVariables()
.Build();
hostBuilder.ConfigureHostConfiguration(builder => builder.AddConfiguration(config));
}
}