Skip to content

Commit 2c427c9

Browse files
authored
Merge pull request #380 from MicrosoftLearning/copilot/fix-362
Fix CD pipeline to use downloaded bicep artifacts instead of repository files
2 parents 4de50ad + 5179014 commit 2c427c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.ado/eshoponweb-cd-webapp-code.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ resources:
1111
variables:
1212
resource-group: 'AZ400-EWebShop-NAME'
1313
location: 'centralus'
14-
templateFile: 'infra/webapp.bicep'
14+
templateFile: 'webapp.bicep'
1515
subscriptionid: 'YOUR-SUBSCRIPTION-ID'
1616
azureserviceconnection: 'azure subs'
1717
webappname: 'az400-webapp-NAME'
@@ -40,7 +40,7 @@ stages:
4040
resourceGroupName: '$(resource-group)'
4141
location: '$(location)'
4242
templateLocation: 'Linked artifact'
43-
csmFile: '$(templateFile)'
43+
csmFile: '$(Pipeline.Workspace)/Bicep/$(templateFile)'
4444
overrideParameters: '-webAppName $(webappname) -location $(location)'
4545
deploymentMode: 'Incremental'
4646
deploymentOutputs: 'asp-json'
@@ -53,7 +53,7 @@ stages:
5353
azureSubscription: '$(azureserviceconnection)'
5454
appType: 'webApp'
5555
WebAppName: '$(webappname)'
56-
packageForLinux: '$(Pipeline.Workspace)/**/Web.zip'
56+
packageForLinux: '$(Pipeline.Workspace)/Website/Web.zip'
5757

5858

5959

0 commit comments

Comments
 (0)