At the end of 2019 GitHub announced GitHub Actions, which is a way of automating code deployment, I've been investigating how you can use it to deploy infrastructure resources within Azure.
In this short video I take you through the code and steps that I used to deploy a basic Azure Virtual Machine using GitHub Actions.
If you want to give it a try you can find my code here - https://github.com/weeyin83/vm-actions
You can also find a written tutorial on how to implement this here - http://aka.ms/vm-githubactions