From the course: Azure Infrastructure as Code with GitHub

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Set up a GitHub workflow

Set up a GitHub workflow

- [Speaker] Let's start creating our pipeline in GitHub actions so we can deploy to Azure. To do that, we start with a repository, where we have the main dot bicep file ready to deploy. In the menu at the top, we will use actions. And here we get a menu that will help us to get started. And there are some example workflows that you could use. They show some of the possibilities. These workflows are not relevant for us with what we want to do now. So we're going to use set up a workflow yourself. And this creates a basic workflow file for us, and we can already see some information here. First thing we can do here is rename our file. By default, it's called main.yml because we are in the main branch. So let's give this a more descriptive name, like deploy.toAzure.yml. So the workflow is a yml file, and one of the most important things to remember about yml is that indentation is important. Especially if you're not used to…

Contents