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
From the course: Azure Infrastructure as Code with GitHub
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
-
-
-
-
Create a service principal in Azure2m 32s
-
(Locked)
Create a secret in GitHub4m 40s
-
(Locked)
Set up a GitHub workflow3m 43s
-
(Locked)
Create the Azure Login Action3m 35s
-
(Locked)
Deploy the resource group2m 59s
-
(Locked)
Deploy an ARM or Bicep template through GitHub Actions4m 26s
-
(Locked)
Challenge: Create your own pipeline21s
-
(Locked)
Solution: Create your own pipeline40s
-
-
-
-