production-deploy

Automate production deployment to DigitalOcean with health checks and rollback readiness.

1|1|Updated Jun 28, 2025
One-click install
npx skills add https://github.com/DarkMonkDev/WitchCityRope --skill production-deploy-darkmonkdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: production-deploy
Source: https://github.com/DarkMonkDev/WitchCityRope/tree/main/.claude/skills/production-deploy
Command: npx skills add https://github.com/DarkMonkDev/WitchCityRope --skill production-deploy-darkmonkdev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docker, ssh, git, doctl, bash.

What problem does it solve?

This Skill automates production deployment, acting as the single source of truth for building, pushing, deploying, and validating production services, with built-in safety checks and rollback guidance.

Core Features & Use Cases

  • Automated Build & Push: Builds production images and pushes to the registry.
  • Automated Deploy & Health Checks: Deploys on production servers with health verification and a rollback plan.
  • Prereq Validation: Verifies prerequisites before deployment to minimize risk.

Quick Start

From project root, run:

  • bash .claude/skills/production-deploy/execute.sh To run non-interactively, skip prompts:
  • SKIP_CONFIRMATION=true bash .claude/skills/production-deploy/execute.sh

Frequently Asked Questions about production-deploy

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

FAQPage Schema
How do I automate production deployment with Docker and SSH?

Production deployment automation builds Docker images, pushes them to a registry, and deploys to production servers via SSH with built-in health checks and rollback readiness. This Skill handles the entire pipeline—prerequisites, image tagging, registry authentication, and safety validation—in a single bash script executed from your project root.

Can I deploy to DigitalOcean with automated health verification?

Yes. This automation deploys to DigitalOcean servers, verifies service health post-deployment, and provides rollback guidance if checks fail. It validates prerequisites like Docker availability and SSH access before starting, minimizing deployment risk.

What safety checks happen during production deployment?

Prerequisite validation confirms Docker, SSH, git, and registry credentials are available and correct. Branch verification ensures the right code is deployed. Health checks confirm the service is running after deployment. If checks fail, rollback steps are provided.

How do I deploy hotfixes and feature releases to production?

This automation handles staging-to-production promotions, hotfix releases, and validated feature rollouts. Run the script non-interactively with `SKIP_CONFIRMATION=true` to bypass prompts, or run interactively for manual confirmation at each step.

What prerequisites do I need before deploying with this automation?

Docker, SSH access to production servers, git, doctl (DigitalOcean CLI), and bash are required. The script validates all prerequisites before deployment, checking registry authentication and server connectivity to prevent failed deployments.