Install any skill in seconds. Free to start, no credit card required.
Get Started Free →yangge521/ci-cd-cn
CI/CD 持续集成与部署,涵盖 GitHub Actions、自动化测试、Docker 镜像发布、多环境部署
Passed 16 of 22 test cases with the skill, and 13 of 22 without it.
and 1 more in the full report
3 fixed13 passed either way6 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
The instructions your model reads when the skill loads.
提供 GitHub Actions CI/CD 流水线配置模板,涵盖自动化测试、代码检查、Docker 镜像构建发布、多环境部署。
在 .github/workflows/ci.yml 配置:矩阵测试多 Python 版本(3.10/3.11/3.12),flake8 语法检查,black 格式检查,mypy 类型检查,pytest 覆盖率,上传 Codecov。
tag 推送触发:docker/metadata-action 生成标签,docker/setup-qemu + buildx 多架构构建,登录 GHCR 和 Docker Hub,build-push-action 构建推送,GHA 缓存。
push main 自动部署 staging,workflow_dispatch 手动触发 production。appleboy/ssh-action SSH 连接服务器执行 git pull + docker-compose up -d --build。
tag 推送触发:git log 生成 Changelog,softprops/action-gh-release 创建 Release,附加构建产物。
| 问题 | 原因 | 解决方案 |
|---|---|---|
| CI 构建失败 | 依赖版本冲突 | 固定 requirements.txt 版本 |
| Docker 推送失败 | 登录过期 | 检查 secrets/token |
| 部署超时 | 服务器无响应 | 检查 SSH 连接和健康检查 |
test cases passed, vs 13 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.