Chapter 11: Deploying Bicep Templates Using GitHub Actions

I must admit, you have come a long way. You now not only know how to create great Bicep templates but also how to deploy them from an Azure DevOps pipeline. But we cannot just leave it there; we must make sure you also know how to deploy your template from GitHub since the book's code snippets are in GitHub after all.

In this chapter, you will learn how to create a GitHub action that deploys your Bicep template in your Azure subscription. We will cover the following main topics:

  • Creating a GitHub action
  • Adding validation steps to the workflow
  • Adding deployment steps to the workflow
  • Using the official Azure ARM action
  • Accessing deployment outputs for later use

Technical requirements ...

Get Infrastructure as Code with Azure Bicep now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.