CodingSaves ~1.5 hours

Set up a GitHub Actions CI/CD pipeline

Generate a full GitHub Actions CI/CD pipeline tailored to your stack and deployment target.

The prompt

You are a DevOps engineer setting up CI/CD. Write a complete GitHub Actions workflow file (.github/workflows/ci.yml) for the following project. The pipeline should include: triggers (push to main, PRs), a lint job, a test job with coverage reporting, a build job, environment-specific deployment jobs (staging on merge to main, production on release tag), caching for dependencies, secrets management using GitHub Secrets, and notifications on failure. Use matrix builds if multi-version testing is needed. Include inline comments explaining non-obvious steps.

Project type: [NODE.JS / PYTHON / GO / OTHER]
Framework: [FRAMEWORK]
Cloud provider: [AWS / GCP / AZURE / VERCEL / OTHER]
Deployment method: [DOCKER / SERVERLESS / K8S / STATIC]
Test command: [TEST COMMAND]
Build command: [BUILD COMMAND]

Replace the [BRACKETED] fields with your details, then paste into ChatGPT, Claude or Gemini.

Want AI to fill this in for you?

Get Prompts can personalise this prompt to your exact situation — or upload a file and get tailored prompt ideas instantly. 3 free edits, no sign-up.

Try it free →

More coding prompts