File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -467,6 +467,7 @@ jobs:
467467 fi
468468
469469 - name : Run Post Deployment Script
470+ continue-on-error : true
470471 shell : pwsh
471472 run : |
472473 Write-Host "Running post deployment script to upload files..."
@@ -484,13 +485,15 @@ jobs:
484485 if ($LASTEXITCODE -eq $null -or $LASTEXITCODE -eq 0) {
485486 Write-Host "✅ Post deployment script completed successfully."
486487 } else {
487- Write-Host "❌ Post deployment script failed with exit code: $LASTEXITCODE"
488- exit 1
488+ Write-Host "⚠️ Post deployment script failed with exit code: $LASTEXITCODE"
489+ Write-Host "⚠️ This is non-critical - deployment will continue"
490+ exit 0
489491 }
490492 }
491493 catch {
492- Write-Host "❌ Post deployment script failed with error: $($_.Exception.Message)"
493- exit 1
494+ Write-Host "⚠️ Post deployment script failed with error: $($_.Exception.Message)"
495+ Write-Host "⚠️ This is non-critical - deployment will continue"
496+ exit 0
494497 }
495498
496499 - name : Generate Deploy Job Summary
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ jobs:
217217 echo "RESOURCE_GROUP_NAME=${{ inputs.resource_group_name }}" >> $GITHUB_ENV
218218 else
219219 echo "Generating a unique resource group name..."
220- ACCL_NAME="docgenv2 " # Account name as specified
220+ ACCL_NAME="dkmv2 " # Account name as specified
221221 SHORT_UUID=$(uuidgen | cut -d'-' -f1)
222222 UNIQUE_RG_NAME="arg-${ACCL_NAME}-${SHORT_UUID}"
223223 echo "RESOURCE_GROUP_NAME=${UNIQUE_RG_NAME}" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments