Skip to content

Commit 9e66cf1

Browse files
committed
Update to ensure $AzureSitesEnvironment cleanup
1 parent f6995a6 commit 9e66cf1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/close-pr.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
with:
2020
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
2121
action: 'close'
22+
deployment_environment: canary-${{ github.event.pull_request.number }}
2223
app_location: ''
2324
skip_app_build: true
2425
skip_api_build: true

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
$WingetApplicationId = "nkdagility.azure-devops-migration-tools.Canary";
135135
$docs_deploy_folder = "./azure-devops-migration-tools/canary/$branchSafeName"
136136
$docs_baseURL = "/learn/azure-devops-migration-tools/canary/$branchSafeName"
137-
$AzureSitesEnvironment = "$branchSafeName"
137+
$AzureSitesEnvironment = "canary-${{ github.event.pull_request.number }}"
138138
$RunRelease = 'false'
139139
}
140140
}

0 commit comments

Comments
 (0)