File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
azd-hooks/scripts/hooks/preprovision Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
146146try {
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
You can’t perform that action at this time.
0 commit comments