Skip to content

Commit

Permalink
Update pr-preview.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
andr0272 committed Oct 12, 2023
1 parent 0eb0682 commit 3db9308
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions AzurePipelines/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ steps:
--resource-group $(webapp.resourceGroup) \
--slot pr-preview-$(webapp.slotName) \
--configuration-source $(webapp.name)
# az webapp identity assign \
# -g $(webapp.resourceGroup) \
# -n $(webapp.name) \
# --slot pr-preview-$(webapp.slotName) \
# --identities /subscriptions/400c5730-25f5-4ee6-a933-8b289b9ccb0d/resourcegroups/rg-dts-id-shared/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-SCLabs-Shared
az webapp identity assign \
-g $(webapp.resourceGroup) \
-n $(webapp.name) \
--slot pr-preview-$(webapp.slotName) \
--identities /subscriptions/400c5730-25f5-4ee6-a933-8b289b9ccb0d/resourcegroups/rg-dts-id-shared/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-SCLabs-Shared
- task: AzureCLI@2
displayName: 'Deploy pr image to new slot'
Expand Down

0 comments on commit 3db9308

Please sign in to comment.