File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,39 @@ hooks:
3838 printf '\n'
3939 shell : sh
4040 interactive : true
41+ postprovision :
42+ windows :
43+ run : |
44+ Write-Host "===== Provisioning Complete =====" -ForegroundColor Green
45+ Write-Host "=> Next step: build and push container images to the dedicated ACR (remote build):" -ForegroundColor Yellow
46+
47+ # Check if running from bash/MINGW64 terminal
48+ if ($env:SHELL -like "*bash*" -or $env:TERM_PROGRAM -like "*git*" -or $env:MSYSTEM -eq "MINGW64") {
49+ Write-Host " bash scripts/build_and_push_images.sh" -ForegroundColor Cyan
50+ } else {
51+ Write-Host " .\scripts\build_and_push_images.ps1" -ForegroundColor Cyan
52+ }
53+
54+ Write-Host ""
55+ $webAppUrl = $env:WEB_APP_URL
56+ if ([string]::IsNullOrWhiteSpace($webAppUrl)) { $webAppUrl = azd env get-value WEB_APP_URL 2>$null }
57+ Write-Host "Web app URL: " -NoNewline
58+ Write-Host "$webAppUrl" -ForegroundColor Cyan
59+ shell : pwsh
60+ continueOnError : false
61+ interactive : true
62+ posix :
63+ run : |
64+ echo "===== Provisioning Complete ====="
65+ echo "=> Next step: build and push container images to the dedicated ACR (remote build):"
66+ echo " bash scripts/build_and_push_images.sh"
67+ echo ""
68+ WEB_APP_URL_DISPLAY="$WEB_APP_URL"
69+ if [ -z "$WEB_APP_URL_DISPLAY" ]; then WEB_APP_URL_DISPLAY=$(azd env get-value WEB_APP_URL 2>/dev/null); fi
70+ echo "Web app URL: $WEB_APP_URL_DISPLAY"
71+ shell : sh
72+ continueOnError : false
73+ interactive : true
4174deployment :
4275 mode : Incremental
4376 template : ./infra/main.bicep # Path to the main.bicep file inside the 'deployment' folder
You can’t perform that action at this time.
0 commit comments