An example repo showing how to set up staging docs with GitHub Pages.
This repository contains a simple .NET console application called GreetingApp that demonstrates:
- Command-line argument processing
- Personalized greeting messages
- Date and time display
The documentation is automatically built and deployed using GitHub Actions:
- Main docs: https://mattleibow.github.io/GitHubStagingPages
- PR staging: https://mattleibow.github.io/GitHubStagingPages/staging/[pr-number]
# Clone the repository
git clone https://github.com/mattleibow/GitHubStagingPages.git
cd GitHubStagingPages
# Build the application
dotnet build
# Run with default greeting
dotnet run --project src/GreetingApp
# Run with custom name
dotnet run --project src/GreetingApp -- "Your Name"- ✅ Automated documentation deployment to GitHub Pages
- ✅ PR staging for documentation reviews
- ✅ Automatic cleanup of staging sites when PRs are closed
- ✅ Jekyll-based static site generation
To enable GitHub Pages for your own repository, see GitHub Pages Setup Guide.