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,35 @@ 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+ Write-Host "Web app URL: " -NoNewline
56+ Write-Host "$env:WEB_APP_URL" -ForegroundColor Cyan
57+ shell : pwsh
58+ continueOnError : false
59+ interactive : true
60+ posix :
61+ run : |
62+ echo "===== Provisioning Complete ====="
63+ echo "=> Next step: build and push container images to the dedicated ACR (remote build):"
64+ echo " bash ./scripts/build_and_push_images.sh"
65+ echo ""
66+ echo "Web app URL: $WEB_APP_URL"
67+ shell : sh
68+ continueOnError : false
69+ interactive : true
4170deployment :
4271 mode : Incremental
4372 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