This example repo shows how to setup a .NET 5 function to deploy to Azure using Pulumi via a Github action.
This is the template repo used for my blog post here: https://martinjt.me/2021/05/03/deploying-net-5-azure-functions-with-pulumi-and-github-actions/
- Azure subscription (with the ability to create a service principal)
- Azure Blob Storage account, with a container setup.
- Github repositry
PULUMI_PASSPHRASE
this is required by pulumi, can be any string
AZURE_PRINCIPAL
JSON representation of the an azure service principal that has contributor rights