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/examples/github-bicep.yml
1name: Deploy Infrastructure23on:4push:5branches: [main]6paths: ['infra/**']78jobs:9deploy:10runs-on: ubuntu-latest1112steps:13- uses: actions/checkout@v41415- uses: azure/login@v216with:17client-id: ${{ secrets.AZURE_CLIENT_ID }}18tenant-id: ${{ secrets.AZURE_TENANT_ID }}19subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}2021- uses: azure/arm-deploy@v222with:23scope: subscription24subscriptionId: ${{ secrets.AZURE_SUBSCRIPTION_ID }}25region: eastus26template: ./infra/main.bicep27parameters: environmentName=${{ vars.ENVIRONMENT }}28