< Previous Challenge - Home - Next Challenge >
In DevOps after we automate our build process, we want to automate our release process, we do this with a technique called Continuous Delivery (CD). Please take a moment to review this brief article talking about why this is important.
In this challenge, we will use GitHub Actions to deploy our container image to the dev environment.
OPTIONAL: Use your code editor (VS Code) to update your workflow file locally on your machine. Remember to commit and push any changes.
Extend the workflow you created in Challenge #7 to:
-
Configure your
dev
environment to pull the latest container image from ACR. -
Make a small change to your application (i.e.,
/Application/aspnet-core-dotnet-core/Views/Home/Index.cshtml
), commit, push, monitor the workflow and see if the change shows up on the dev instance of the website. -
Configure your workflow to deploy to your
test
andprod
environments and after a manual approval for each environment.
- A small change to
/Application/aspnet-core-dotnet-core/Views/Home/Index.cshtml
automatically shows up on the website running in thedev
environment (i.e.,<prefix>devops-dev
.azurewebsites.net). - Manual approval is required to deploy to the
test
andprod
environments.