Skip to content

Commit 5179014

Browse files
CopilotLuizMacedo
andcommitted
Fix CD pipeline to use downloaded bicep artifacts instead of repo files
Co-authored-by: LuizMacedo <[email protected]>
1 parent de82c38 commit 5179014

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)