Skip to content

GitHub Action Workflows to deploy to Azure

Notifications You must be signed in to change notification settings

marcosboger/azure-github-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Azure Workflows for GitHub Actions

In this repo, you'll find 3 workflows used to deploy to different Azure resources:

  • azure-function-deploy.yml
  • container-build-deploy.yml
  • static-web-app-deploy.yml

azure-function-deploy.yml

This workflow deploys code to an Azure Function (Python). It sets up the Python version needed, installs the required dependencies and deploys using the Custom Action 'Azure/functions-action@v1'.

container-build-deploy.yml

This workflow first builds a docker container image and then deploys it to Azure Container Instances.

The image is built using the standard docker commands. Then, it is tagged with the commit SHA and 'latest' tags and finally it is and pushed to GHCR (GitHub Container Registry) under an IMAGE_NAME defined in the file.

The deploy part is done by using the Custom Action 'azure/container-apps-deploy-action@v1' which deploys a Docker Image to Azure Container Instances with the appropriate parameters.

static-web-app-deploy.yml

This workflow builds/deploys an web app to Azure Static Web App service. It is all done by the Custom Action 'Azure/static-web-apps-deploy@v1' which builds the app using the app_build_command and then deploys it to Azure.

About

GitHub Action Workflows to deploy to Azure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published