deploy-vps
Deploy a new image to a VPS Ubuntu host using GHCR and a deploy script.
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.
| name | deploy-vps |
|---|---|
| description | Deploy 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
- Confirm target env (dev|stage|prd|custom) and image tag.
- Verify no secrets are exposed; use placeholders.
- Use a deploy script or image updater on the VPS to pull and restart.
- Verify health checks and metrics (Prometheus/Grafana) if available.
Safety
- Require explicit confirmation before touching production.
- Provide rollback steps (previous tag) before execution.