deploy-vps

jibaxZZZ 的头像作者 jibaxZZZ

使用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

  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.