Skip to content

Commit

Permalink
created new azure web app for statiq blog
Browse files Browse the repository at this point in the history
  • Loading branch information
thbst16 committed Aug 14, 2022
1 parent ff84a74 commit a064cf5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions MyStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,37 @@ public MyStack()
);

this.SheetsNotificationEndpoint = Output.Format($"https://{sheetsNotificationApp.DefaultHostName}");

// App 5: Static blog app using Statiq
var beckshomeBlogApp = new WebApp("dotnet-statiq-beckshome-blog", new WebAppArgs
{
Name = "dotnet-statiq-beckshome-blog",
ResourceGroupName = resourceGroup.Name,
ServerFarmId = plan.Id,
SiteConfig = new SiteConfigArgs
{
AppSettings = new[]
{
new NameValuePairArgs
{
Name = "WEBSITES_ENABLE_APP_SERVICE_STORAGE",
Value = "false"
}
},
AlwaysOn = true,
LinuxFxVersion = "DOTNETCORE|6.0"
},
HttpsOnly = true
},
new CustomResourceOptions { DeleteBeforeReplace = true }
);

this.BeckshomeBlogEndpoint = Output.Format($"https://{beckshomeBlogApp.DefaultHostName}");
}
[Output] public Output<string> BlazorCrudEndpoint { get; set; }
[Output] public Output<string> RosettaStoneEndpoint { get; set; }
[Output] public Output<string> RoslynApiEndpoint { get; set; }
[Output] public Output<string> BeckshomeBlogEndpoint { get; set; }
[Output] public Output<string> RoslynClassUrl { get; set; }
[Output] public Output<string> SheetsNotificationEndpoint { get; set; }
[Output] public Output<string> PrimaryStorageKey { get; set; }
Expand Down

0 comments on commit a064cf5

Please sign in to comment.