deploy-vps
使用GHCR和部署脚本将新镜像部署到VPS Ubuntu主机。
📖 中文导读:使用GHCR和部署脚本将新镜像部署到VPS Ubuntu主机。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
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.