Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Execute Azure deployments using azd, Terraform, or Bicep with built-in error recovery.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/recipes/cicd/README.md
1# CI/CD Deploy Recipe23Deploy to Azure using automated pipelines.45## Prerequisites67- `.azure/deployment-plan.md` exists with status `Validated`8- Azure Service Principal or federated credentials configured9- Pipeline file exists (`.github/workflows/` or `azure-pipelines.yml`)1011## GitHub Actions1213| Example | Description |14|---------|-------------|15| [github-azd.yml](examples/github-azd.yml) | AZD deployment workflow |16| [github-bicep.yml](examples/github-bicep.yml) | Bicep infrastructure deployment |1718## Azure DevOps1920| Example | Description |21|---------|-------------|22| [azdo-azd.yml](examples/azdo-azd.yml) | Basic AZD pipeline |23| [azdo-multistage.yml](examples/azdo-multistage.yml) | Multi-stage with approvals |2425## Setup Requirements2627### GitHub Actions28291. Create Azure Service Principal with federated credentials302. Add secrets: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_SUBSCRIPTION_ID`313. Add variables: `AZURE_ENV_NAME`, `AZURE_LOCATION`324. Create environments with protection rules3334### Azure DevOps35361. Create Service Connection to Azure372. Create Variable Groups per environment383. Create Environments with approval gates3940## References4142- [Verification steps](./verify.md)43- [Error handling](./errors.md)44