anukamithara/deploy-skills

configure-ci-cd

Generate or audit secure GitHub Actions workflows for validating deployment files, publishing immutable application images to GHCR, and running approval-gated single-server deploy or rollback operations.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/anukamithara/deploy-skills --skill configure-ci-cd

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Configure CI/CD

Create the smallest GitHub Actions workflow that matches the repository and deployment target.

Workflow

  1. Analyze existing workflows, build commands, Compose files, migrations, health routes, and registry decisions before changing CI/CD.
  2. Read references/github-actions.md and preserve compatible repository conventions.
  3. Use assets/deploy.yml only as a reviewed starting point; replace every repository-specific placeholder.
  4. Keep pull-request validation read-only and publish only immutable release tags.
  5. Gate deployment and rollback with a protected production environment and explicit manual inputs.
  6. Keep migrations explicit, health-gate releases, and never automatically reverse a database migration.
  7. Run python3 scripts/validate_workflow.py --workflow <path> and any available action, secret, and image scanners.
  8. Report required repository variables, secrets, environment rules, validation evidence, and remaining manual setup.

Do not push images, connect to a server, deploy, migrate production data, or roll back without explicit approval at the point of action.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills