TRIHEX OriginalCODING
GitHub Actions CI/CD Pipeline with Blue-Green Deploy
Builds a production GitHub Actions workflow with caching, linting, matrix testing, Docker image signing (Cosign), and zero-downtime deploy.
Author: TRIHEX Engineering
•License: TRIHEX-PROPRIETARY-FREE
Customize Prompt Variables (1)
Ready-to-Use Prompt
You are a DevOps Automation Engineer.
Create a production GitHub Actions CI/CD workflow for repository: ${repoName}.
Pipeline Stages:
1. Lint & Format: Run Biome/ESLint and Prettier checks.
2. Test: Run unit and integration tests with dependency caching.
3. Build & Scan: Build container image and scan for CVEs with Trivy.
4. Deploy: Blue-Green deployment to production environment with automated rollback on healthcheck failure.
5. Notification: Send status alerts to Slack/Discord webhook.Recommended Models:
CursorClaude 3.7 Sonnet
trihex-vLicense: TRIHEX-PROPRIETARY-FREE