Deploy to Azure using GitHub Actions

GitHub Actions enable developers to build automated software development lifecycle workflows.

With GitHub Actions for Azure you can create workflows that you can set up in your repository to build, test, package, release and deploy to Azure. Learn more about all other integrations with Azure.

Get started today with a free Azure account!

Note

The links provided in this article link to a GitHub article or a GitHub repository.

Key concepts

GitHub Actions enable you to create custom software development life cycle (SDLC) workflows directly in your GitHub repository. For an overview of GitHub Actions and core concepts, review the following articles:

Get started

GitHub Actions includes preconfigured templates and Marketplace actions.

For GitHub Actions for Azure, see the following pages:

Connect to Azure

For sample workflows to connect to Azure and run scripts based on Az CLI or Az PowerShell , use the following GitHub actions:

Sample apps with CI/CD workflow samples

The following samples provide end-to-end workflows to build and deploy Web apps of any language, any ecosystem to Azure.

Deploy a Web app

Deploy to Azure Web Apps and Azure Web App for Containers:

Deploy a Static Web app:

Configure App settings and Connection Strings using the actions:

Deploy a serverless app

Build and Deploy containerized apps

Deploy to Kubernetes

Train and Deploy a machine learning model

Deploy to databases

Azure Policy Integrations

Trigger a run in Azure Pipelines

Utility actions

Additional resources

The following GitHub resources are available to support using GitHub to deploy your apps to Azure.