All Azure services

Azure · Developer Tools

GitHub Actions on Azure

Deploy to Azure from GitHub with OIDC.

Official docs

Overview

First-class Actions like `azure/login`, `azure/webapps-deploy` and `azure/container-apps-deploy` integrate GitHub CI with Azure.

When to use it

  • GitHub-centric teams shipping to Azure
  • Keyless auth via OIDC

Setup

  1. Create Entra ID app + federated credential for the repo.
  2. Use `azure/login@v2` with client-id/tenant-id/subscription-id.

How to use

OIDC login
- uses: azure/login@v2
  with:
    client-id: ${{ secrets.AZURE_CLIENT_ID }}
    tenant-id: ${{ secrets.AZURE_TENANT_ID }}
    subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

QA use cases

  • Run Playwright job and publish report as artifact + GitHub Pages preview.