eugenestarchenko / azure-functions-cd-github-actions

Azure Functions Continuous Deployment with Github Actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Continuous Deployment for Azure Functions with Github Actions

In VSCode you can use the Remote Containers extension to start the project in a Docker container. It includes Node.js, Azure CLI, Terraform.

Login with az cli:

az login

Create cloud resources:

cd terraform
terraform init
terraform apply -var-file dev.tfvars # for dev env; replace with prod.tfvars for prod

Create a Repository Secret in the Github repo with the function app publish profile.

Trigger the CD workflow in the repo (via a commit or manually).

Function code will be deployed to the Function App in Azure.

About

Azure Functions Continuous Deployment with Github Actions


Languages

Language:Shell 80.9%Language:HCL 10.5%Language:Dockerfile 6.4%Language:TypeScript 2.2%