Skip to content

mildronize/deploy-multiple-azure-app-services-using-github-actions-matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Multiple Azure App Services using GitHub Actions Matrix

Deploy Multiple Azure App Services using GitHub Actions Matrix

Slides

https://docs.google.com/presentation/d/1ctnqJfWxpH-s5l7zkvN9tiXReuxeLajauWfsQ9CkGmU/edit?usp=sharing

Demo Video

https://www.youtube.com/watch?v=G3Rb15N_zDk

Demo Step

cd ./terraform
terraform apply
terraform output -json  app_service_deployment > deploy.json
dasel -r json -w yaml < deploy.json > thadaw.jobs.yml

# copy yaml to thadaw.config.yml
# copt yaml to .github/workflows/build-and-deploy.yml

# Go to Project Azure-to-github
yarn set-github-secrets -f thadaw.config.yml -m
./tmp/run-all.sh

# health check
cd ../health-check
node ./index.js ../terraform/deploy.json

Destroy App Services

terraform destroy -target 'azurerm_app_service.web_api["ant"]' -target 'azurerm_app_service.web_api["cat"]' -target 'azurerm_app_service.web_api["dog"]'

About

Deploy Multiple Azure App Services using GitHub Actions Matrix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published