Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,35 @@ hooks:
printf '\n'
shell: sh
interactive: true
postprovision:
windows:
run: |
Write-Host "===== Provisioning Complete =====" -ForegroundColor Green
Write-Host "=> Next step: build and push container images to the dedicated ACR (remote build):" -ForegroundColor Yellow

# Check if running from bash/MINGW64 terminal
if ($env:SHELL -like "*bash*" -or $env:TERM_PROGRAM -like "*git*" -or $env:MSYSTEM -eq "MINGW64") {
Write-Host " bash scripts/build_and_push_images.sh" -ForegroundColor Cyan
} else {
Write-Host " .\scripts\build_and_push_images.ps1" -ForegroundColor Cyan
}
Comment thread
Copilot marked this conversation as resolved.

Write-Host ""
Write-Host "Web app URL: " -NoNewline
Write-Host "$env:WEB_APP_URL" -ForegroundColor Cyan
Comment thread
Copilot marked this conversation as resolved.
Outdated
shell: pwsh
continueOnError: false
interactive: true
posix:
run: |
echo "===== Provisioning Complete ====="
echo "=> Next step: build and push container images to the dedicated ACR (remote build):"
echo " bash scripts/build_and_push_images.sh"
echo ""
echo "Web app URL: $WEB_APP_URL"
shell: sh
continueOnError: false
interactive: true
deployment:
mode: Incremental
template: ./infra/main.bicep # Path to the main.bicep file inside the 'deployment' folder
Expand Down