Skip to content

Commit 4d099b4

Browse files
committed
updated action
1 parent e307cdf commit 4d099b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dotnetcore.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,13 +274,13 @@ jobs:
274274
creds: ${{ secrets.AZURE_SP }}
275275
#Swap staging slots with prod
276276
- name: Swap web service staging slot to production
277-
uses: Azure/cli@v1.0.8
277+
uses: Azure/cli@v2.0.0
278278
with:
279279
inlineScript: az webapp deployment slot swap --name "devops-prod-eu-service" --resource-group "devopsmetrics" --slot staging --target-slot production
280280
- name: Deploy web service app settings
281281
run: az webapp config appsettings set --name "devops-prod-eu-service" --resource-group "devopsmetrics" --settings "AppSettings:AzureDevOpsPatToken=${{ secrets.AzureDevOpsPATToken }}" "AppSettings:GitHubClientId=${{ secrets.GitHubClientId }}" "AppSettings:GitHubClientSecret=${{ secrets.GitHubClientSecret }}" "AppSettings:AzureStorageAccountConfigurationString=${{ secrets.AzureStorageConnectionString }}"
282282
- name: Swap web site staging slot to production
283-
uses: Azure/cli@v1.0.8
283+
uses: Azure/cli@v2.0.0
284284
with:
285285
inlineScript: az webapp deployment slot swap --name "devops-prod-eu-web" --resource-group "devopsmetrics" --slot staging --target-slot production
286286
- name: Deploy website app settings

0 commit comments

Comments
 (0)