fix env not passing
This commit is contained in:
@@ -136,7 +136,7 @@ jobs:
|
|||||||
|
|
||||||
while ($attempt -le $maxAttempts -and -not $success) {
|
while ($attempt -le $maxAttempts -and -not $success) {
|
||||||
try {
|
try {
|
||||||
$response = Invoke-WebRequest -Uri "{{ env.HEALTH_URL }}" -TimeoutSec 5
|
$response = Invoke-WebRequest -Uri "${{ env.HEALTH_URL }}" -TimeoutSec 5
|
||||||
if ($response.StatusCode -eq 200) {
|
if ($response.StatusCode -eq 200) {
|
||||||
Write-Host "Health check passed!"
|
Write-Host "Health check passed!"
|
||||||
$success = $true
|
$success = $true
|
||||||
|
|||||||
Reference in New Issue
Block a user