< Previous - Home - Next >
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 #4 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.
NOTE: Normally, we would have you configure release gates next - which would require some type of manual approval/human intervention before deploying to test and prod respectively. But, as of 10/7/20, GitHub doesn't offer this natively - although it is on the GitHub roadmap, due to be available by the end of 2020.
- A small change to
/Application/aspnet-core-dotnet-core/Views/Home/Index.cshtml
automatically shows up on the website running in the dev environment (i.e.,<prefix>devops-dev
.azurewebsites.net).
< Previous - Home - Next >