Skip to content

Commit 160d998

Browse files
committed
remove azd from preconfigure
1 parent 22277f6 commit 160d998

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/azure-dev-down.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ jobs:
5656
RS_RESOURCE_GROUP: ${{ vars.RS_RESOURCE_GROUP }}
5757
shell: pwsh
5858
run: |
59-
azd env set RS_CONTAINER_NAME $env:RS_CONTAINER_NAME
6059
./azd-hooks/scripts/hooks/preprovision/run_preconfig.ps1
6160
6261
- name: Azd down

azd-hooks/scripts/hooks/preprovision/run_preconfig.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Write-Host "Checking if RS_CONTAINER_NAME environment variable exists..."
145145
# Check if RS_CONTAINER_NAME azd environment variable exists
146146
try {
147147

148-
$rsContainerName = azd env get-value RS_CONTAINER_NAME 2>$null
148+
$rsContainerName = $env:RS_CONTAINER_NAME
149149
if ($LASTEXITCODE -eq 0 -and $rsContainerName) {
150150
Write-Host "✓ RS_CONTAINER_NAME environment variable exists with value: $rsContainerName"
151151

0 commit comments

Comments
 (0)