cicd-pipeline-setup by aj-geddes/useful-ai-prompts
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill cicd-pipeline-setup构建自动化的持续集成和持续部署流水线,以测试代码、构建制品、运行安全检查,并以最少的人工干预部署到多个环境。
最小工作示例:
# .github/workflows/deploy.yml
name: Build and Deploy
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
// ... (完整实现请参阅参考指南)
references/ 目录下的详细实现:
| 指南 |
|---|
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 内容 |
|---|
| GitHub Actions 工作流 | GitHub Actions 工作流 |
| GitLab CI 流水线 | GitLab CI 流水线 |
| Jenkins 流水线 | Jenkins 流水线 |
| CI/CD 脚本 | CI/CD 脚本 |
每周安装次数
173
代码仓库
GitHub 星标数
146
首次出现
2026年1月21日
安全审计
安装于
opencode147
gemini-cli145
codex139
cursor131
claude-code124
github-copilot124
Build automated continuous integration and deployment pipelines that test code, build artifacts, run security checks, and deploy to multiple environments with minimal manual intervention.
Minimal working example:
# .github/workflows/deploy.yml
name: Build and Deploy
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| GitHub Actions Workflow | GitHub Actions Workflow |
| GitLab CI Pipeline | GitLab CI Pipeline |
| Jenkins Pipeline | Jenkins Pipeline |
| CI/CD Script | CI/CD Script |
Weekly Installs
173
Repository
GitHub Stars
146
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode147
gemini-cli145
codex139
cursor131
claude-code124
github-copilot124
Azure Data Explorer (Kusto) 查询技能:KQL数据分析、日志遥测与时间序列处理
119,800 周安装