deploy-vps

Deploy a new image to a VPS Ubuntu host using GHCR and a deploy script.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 25, 2025

When & Why to Use This Skill

This Claude skill automates the deployment of Docker images from GitHub Container Registry (GHCR) to Ubuntu VPS hosts. It streamlines GitOps-style workflows by managing environment validation, security checks, and service restarts, providing a secure and repeatable deployment process for developers and DevOps teams.

Use Cases

  • Automated Staging Updates: Seamlessly deploy the latest container images to a staging VPS for testing immediately after a successful CI build.
  • Production Release Management: Execute production deployments with mandatory confirmation steps and predefined rollback strategies to ensure high availability and minimize downtime.
  • Multi-Environment Consistency: Maintain standardized deployment logic across development, staging, and production environments using consistent deploy scripts and environment-specific variables.
namedeploy-vps
descriptionDeploy a new image to a VPS Ubuntu host using GHCR and a deploy script.

Intent

Use for GitOps-style deploys to a VPS when a new image is pushed.

Steps

  1. Confirm target env (dev|stage|prd|custom) and image tag.
  2. Verify no secrets are exposed; use placeholders.
  3. Use a deploy script or image updater on the VPS to pull and restart.
  4. Verify health checks and metrics (Prometheus/Grafana) if available.

Safety

  • Require explicit confirmation before touching production.
  • Provide rollback steps (previous tag) before execution.