File tree Expand file tree Collapse file tree
infra/scripts/post-provision Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -899,6 +899,16 @@ if ($script:hasErrors) {
899899 $frontendHost = $ (azd env get-value webSiteDefaultHostname 2> $null )
900900 if ($frontendHost ) { Write-Host " Frontend: https://$frontendHost " }
901901 Write-Host " "
902+ Write-Host " To re-run ONLY the post-deployment step (without redeploying infra/app):" - ForegroundColor Yellow
903+ Write-Host " azd hooks run postdeploy" - ForegroundColor Yellow
904+ Write-Host " "
905+ Write-Host " Or run the script directly:" - ForegroundColor Yellow
906+ Write-Host " PowerShell : pwsh ./infra/scripts/post-provision/post_deploy.ps1" - ForegroundColor Yellow
907+ Write-Host " Bash : bash ./infra/scripts/post-provision/post_deploy.sh" - ForegroundColor Yellow
908+ Write-Host " "
909+ Write-Host " Common fixes before retry:" - ForegroundColor Yellow
910+ Write-Host " - Ensure 'az login' / 'azd auth login' are current" - ForegroundColor Yellow
911+ Write-Host " "
902912 exit 1
903913} else {
904914 Write-Host " "
Original file line number Diff line number Diff line change @@ -883,6 +883,16 @@ main() {
883883 echo " Frontend: https://$frontend_host "
884884 fi
885885 echo " "
886+ echo " To re-run ONLY the post-deployment step (without redeploying infra/app):"
887+ echo " azd hooks run postdeploy"
888+ echo " "
889+ echo " Or run the script directly:"
890+ echo " Bash : bash ./infra/scripts/post-provision/post_deploy.sh"
891+ echo " PowerShell : pwsh ./infra/scripts/post-provision/post_deploy.ps1"
892+ echo " "
893+ echo " Common fixes before retry:"
894+ echo " - Ensure 'az login' / 'azd auth login' are current"
895+ echo " "
886896 exit 1
887897 else
888898 echo " ========================================"
You can’t perform that action at this time.
0 commit comments