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-azd.yml
1name: Deploy to Azure23on:4push:5branches: [main]6workflow_dispatch:78permissions:9id-token: write10contents: read1112jobs:13deploy:14runs-on: ubuntu-latest15environment: dev1617steps:18- uses: actions/checkout@v41920- name: Install azd21uses: Azure/setup-azd@v12223- name: Azure Login24uses: azure/login@v225with:26client-id: ${{ secrets.AZURE_CLIENT_ID }}27tenant-id: ${{ secrets.AZURE_TENANT_ID }}28subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}2930- name: Deploy31run: azd up --no-prompt32env:33AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }}34AZURE_LOCATION: ${{ vars.AZURE_LOCATION }}35AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}36