deploy-staging
Installation
SKILL.md
部署到测试环境
前置条件检查
执行部署前,必须验证:
-
当前分支所有变更已提交
- 运行
git status检查 - 如有未提交内容,提示用户先提交
- 运行
-
所有测试通过
- 运行
npm test - 如测试失败,停止部署并报告失败原因
- 运行
-
代码已推送到远程仓库
- 运行
git push - 确保远程分支是最新状态
- 运行
部署流程
Related skills
执行部署前,必须验证:
当前分支所有变更已提交
git status 检查所有测试通过
npm test代码已推送到远程仓库
git push