Files
awesome-copilot/skills/azure-developer-cli/examples/azure.yaml
T
github-actions[bot] ca17038502 chore: publish from main
2026-08-06 03:20:08 +00:00

34 lines
767 B
YAML

# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: sample-app
infra:
provider: bicep
path: ./infra
module: main
services:
api:
project: ./src/api
language: ts
host: appservice
web:
project: ./src/web
dist: dist
language: ts
host: staticwebapp
# Add hooks only when the default lifecycle cannot express the requirement.
# Keep nontrivial commands in scripts/azd and provide both OS variants.
hooks:
preprovision:
windows:
shell: pwsh
run: ./scripts/azd/validate.ps1
interactive: false
continueOnError: false
posix:
shell: sh
run: ./scripts/azd/validate.sh
interactive: false
continueOnError: false