Skip to content

Commit 3bc1ec3

Browse files
committed
Add AppSetting to deploy the correct project
1 parent 05f14ef commit 3bc1ec3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

samples/features/security/contoso-hr-sql-db/setup/azuredeploy.bicep

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,12 @@ resource WebApp_Resource 'Microsoft.Web/sites@2020-12-01' = {
139139
}
140140
}
141141
}
142-
142+
//Define AppSetting to fetch the correct project from the GitHub Repository
143+
resource AppSetting 'config' = {
144+
name: 'appsettings'
145+
properties: {
146+
PROJECT: 'samples/features/security/contoso-hr-sql-db/source/ContosoHR/ContosoHR.csproj'
147+
}
143148
// Deploy the application
144149
resource sourceControl 'sourcecontrols' = {
145150
name: 'web'

0 commit comments

Comments
 (0)