File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -347,6 +347,7 @@ jobs:
347347 fi
348348
349349 - name : Run Post Deployment Script
350+ continue-on-error : true
350351 shell : pwsh
351352 run : |
352353 Write-Host "Running post deployment script to upload files..."
@@ -357,13 +358,11 @@ jobs:
357358 if ($LASTEXITCODE -eq $null -or $LASTEXITCODE -eq 0) {
358359 Write-Host "✅ Post deployment script completed successfully."
359360 } else {
360- Write-Host "❌ Post deployment script failed with exit code: $LASTEXITCODE"
361- exit 1
361+ Write-Host "⚠️ Post deployment script failed with exit code: $LASTEXITCODE, but pipeline will continue."
362362 }
363363 }
364364 catch {
365- Write-Host "❌ Post deployment script failed with error: $($_.Exception.Message)"
366- exit 1
365+ Write-Host "⚠️ Post deployment script failed with error: $($_.Exception.Message), but pipeline will continue."
367366 }
368367
369368 - name : Logout from Azure
You can’t perform that action at this time.
0 commit comments