The board of the shelter is rather pleased. You’ve updated the application with a new feature, configured security checks, and created an environment in Azure to host the project. The time has come to deploy the project!
Because the application will continue to grow with new features in the near future, the board wants to ensure the deployment process is streamlined. Whenever new code is pushed to main
it should be deployed to production.
You will complete this hack by creating one last GitHub Action to deploy the project to Azure. Deploying a project can be rather complex depending on the services being used and service level agreement (SLA) which needs to be met. For example, you may need to configure blue/green deployment to ensure no downtime when new features are published. You can talk about different scenarios with your coach.
For purposes of this hack, you will deploy to the environment you created earlier when code is pushed into main
.
main
main
<your_prefix>
acr<your_prefix>
containerapp<your_prefix>
containerappenvironment