Skip to content

Commit d029d86

Browse files
authored
updating branch name
1 parent 3163708 commit d029d86

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

articles/app-service/provision-resource-bicep.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ param sku string = 'F1' // The SKU of App Service Plan
2929
param linuxFxVersion string = 'node|14-lts' // The runtime stack of web app
3030
param location string = resourceGroup().location // Location for all resources
3131
param repositoryUrl string = 'https://github.com/Azure-Samples/nodejs-docs-hello-world'
32-
param branch string = 'master'
32+
param branch string = 'main'
3333
var appServicePlanName = toLower('AppServicePlan-${webAppName}')
3434
var webSiteName = toLower('wapp-${webAppName}')
35+
3536
resource appServicePlan 'Microsoft.Web/serverfarms@2020-06-01' = {
3637
name: appServicePlanName
3738
location: location
@@ -43,6 +44,7 @@ resource appServicePlan 'Microsoft.Web/serverfarms@2020-06-01' = {
4344
}
4445
kind: 'linux'
4546
}
47+
4648
resource appService 'Microsoft.Web/sites@2020-06-01' = {
4749
name: webSiteName
4850
location: location
@@ -53,6 +55,7 @@ resource appService 'Microsoft.Web/sites@2020-06-01' = {
5355
}
5456
}
5557
}
58+
5659
resource srcControls 'Microsoft.Web/sites/sourcecontrols@2021-01-01' = {
5760
name: '${appService.name}/web'
5861
properties: {
@@ -123,4 +126,4 @@ When no longer needed, [delete the resource group](../azure-resource-manager/man
123126
> [!div class="nextstepaction"]
124127
> [Bicep documentation](../azure-resource-manager/bicep/index.yml)
125128
> [!div class="nextstepaction"]
126-
> [Bicep samples for Azure App Service](./samples-bicep.md)
129+
> [Bicep samples for Azure App Service](./samples-bicep.md)

0 commit comments

Comments
 (0)