How hossain8078/github-actions-course-main works
This repository is a GitHub Actions course: its main product is a collection of workflow examples and learning material for CI/CD and DevSecOps. Learners explore workflow triggers and reusable workflows, then examples covering .NET and web-app deployment, containers, Azure, Kubernetes, and runner configuration. A small ASP.NET Core MVC app is also present as an application example. Workflow files were not sampled, so their internal job steps and connections are not asserted; the app links below reflect only the sampled source.
Main entry points: HomeController.cs Home controller · Program.cs MVC application · 010-blank-workflow.yml Blank workflow · 020-manual-input-workflow.yml Manual inputs
Components 17
Workflow fundamentals
- Blank workflow
.github/workflows/010-blank-workflow.yml - Manual inputs
.github/workflows/020-manual-input-workflow.yml - Azure DevOps trigger
.github/workflows/0100-trigger-azure-devops-pipeline.yaml - Reusable caller
.github/workflows/080-resusable-workflow-caller.yml - Reusable workflow
.github/workflows/080-reusable-workflow-called.yml
Build and deploy
- .NET workflow
.github/workflows/030-dotnet-workflow.yml - Azure web deploy
.github/workflows/031-build-deploy-webapp-to-azure.yml - Docker build
.github/workflows/050-docker-build-workflow.yml - GHCR workflow
.github/workflows/052-docker-ghcr-workflow.yml
Cloud and runners
- Kubernetes workflow
.github/workflows/060-kubernetes-workflow.md - Self-hosted runner
.github/workflows/070-self-hosted-runner.yml - Azure OIDC
.github/workflows/090-oidc-azure.yml
ASP.NET sample
- MVC application
03-app-dotnet/Program.cs - Home controller
03-app-dotnet/Controllers/HomeController.cs - Error view model
03-app-dotnet/Models/ErrorViewModel.cs - MVC views
03-app-dotnet/Views
Other components
- Course learner
Connections 15
- Course learner → Blank workflow: explores
README.md - Course learner → Manual inputs: explores
README.md - Course learner → Azure DevOps trigger: explores
README.md - Course learner → Reusable caller: explores
README.md - Course learner → Reusable workflow: explores
README.md - Course learner → .NET workflow: explores
README.md - Course learner → Azure web deploy: explores
README.md - Course learner → Docker build: explores
README.md - Course learner → GHCR workflow: explores
README.md - Course learner → Kubernetes workflow: explores
README.md - Course learner → Self-hosted runner: explores
README.md - Course learner → Azure OIDC: explores
README.md - MVC application → Home controller: routes requests
03-app-dotnet/Program.cs - Home controller → Error view model: creates
03-app-dotnet/Controllers/HomeController.cs - Home controller → MVC views: returns views
03-app-dotnet/Controllers/HomeController.cs