dotnet-gha-deploy

Automate .NET deployments via GitHub Actions to Azure Web Apps, GitHub Pages, and container registries.

Updated Aug 16, 2025
One-click install
npx skills add https://github.com/dodyg/blue-nile-pds --skill dotnet-gha-deploy-dodyg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-gha-deploy
Source: https://github.com/dodyg/blue-nile-pds/tree/main/.agents/skills/dotnet-gha-deploy
Command: npx skills add https://github.com/dodyg/blue-nile-pds --skill dotnet-gha-deploy-dodyg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the multi-environment deployment of .NET applications using GitHub Actions across Azure Web Apps, GitHub Pages, and container registries, reducing manual toil and deployment risk.

Core Features & Use Cases

  • Deploy to Azure Web Apps using azure/webapps-deploy and azure/login for credentials.
  • Publish static documentation or sites to GitHub Pages.
  • Push container images to GHCR or Azure Container Registry with environment-based promotion.
  • Utilize GitHub Environments with protection rules and deployment slots for zero-downtime releases.
  • Implement rollback strategies when deployments fail or health checks fail.

Quick Start

Create and run a GitHub Actions workflow that builds a .NET project and deploys it to Azure Web Apps, GHCR/ACR, and GitHub Pages.

Frequently Asked Questions about dotnet-gha-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate .NET deployment to Azure Web Apps using GitHub Actions?

Automate .NET deployment to Azure Web Apps by creating a GitHub Actions workflow that uses azure/login for OIDC credentials and azure/webapps-deploy to push the built application, reducing manual toil and risk.

Can I use GitHub Environments protection rules for multi-environment .NET releases?

GitHub Environments with protection rules can be used for multi-environment .NET releases, enabling staging and production deployments alongside deployment slots for zero-downtime releases.

What is the best way to push .NET container images to registries via GitHub Actions?

Push .NET container images to GHCR or Azure Container Registry using GitHub Actions workflows with environment-based promotion, ensuring controlled progression across release stages.

Does this GitHub Actions deployment approach support automated rollback strategies?

Automated rollback strategies are supported when deployments fail or health checks fail, allowing GitHub Actions workflows to revert .NET applications to previous stable states.

How do I deploy static .NET documentation sites to GitHub Pages with GitHub Actions?

Deploy static .NET documentation or sites to GitHub Pages by configuring a GitHub Actions workflow that builds the project and publishes the generated static content directly.

Do I need OIDC credentials to deploy .NET applications to Azure Web Apps?

OIDC credentials are used via azure/login to authenticate GitHub Actions workflows for Azure Web Apps deployments, eliminating the need for hardcoded secrets and securing multi-environment releases.