This is a sample repo that uses the basic ASP.NET Core web app template and GitHub Actions to build and deploy the web app to Azure App Service.
This repo is really meant only to be an example of the Actions and not the ASP.NET Core content.
The workflow does a few things...
Build:
- Uses .NET Core SDK
- Restores any NuGet packages
- Builds the project
- Executes any tests
- Publishes the project for deployment
Deploy:
- Deploys the published layout to Azure App Service
Artifacts:
- Uploads the published layout as an artifact of the build
Some resources:
- My blog :-) timheuer.com or @timheuer
- Get a Free Account for Azure
- Azure Actions