deployment-cicd

Configure CI/CD pipelines, Docker containers, and cloud deployments for Node.js applications.

Updated May 16, 2026
One-click install
npx skills add https://github.com/organvm-i-theoria/_agent-ontology --skill deployment-cicd-organvm-i-theoria
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deployment-cicd
Source: https://github.com/organvm-i-theoria/_agent-ontology/tree/main/.agents/skills/deployment-cicd
Command: npx skills add https://github.com/organvm-i-theoria/_agent-ontology --skill deployment-cicd-organvm-i-theoria

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up reliable deployment pipelines involves juggling GitHub Actions workflows, Dockerfiles, platform configs, secrets management, and rollback strategies, and mistakes in any of these can break production releases. ## Core Features & Use Cases - GitHub Actions Workflows: Ready-to-adapt CI/CD pipelines covering lint, test, build, matrix builds, caching, preview deploys, and production deploys with environment protection. - Docker & Compose Patterns: Multi-stage Dockerfiles, .dockerignore, non-root users, health checks, and Compose setups for development and production. - Platform Deployments & Rollbacks: Configuration for Vercel, Railway, and Fly.io plus blue-green, canary, and instant rollback strategies with health check endpoints. - Use Case: You need to ship a Next.js app with automated testing on every PR, a staging preview, and a production deploy to Vercel with database migrations and a rollback plan. ## Quick Start Set up a complete CI/CD pipeline with GitHub Actions and Docker for my Node.js application that deploys to Vercel on push to main.

Frequently Asked Questions about deployment-cicd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a GitHub Actions CI/CD pipeline for Node.js?▼

Create a workflow file in .github/workflows that checks out code, sets up Node.js with npm caching, then runs lint, test, and build jobs. Add deploy jobs gated on the main branch using environment secrets for tokens.

How do I deploy a Next.js app to Vercel from GitHub Actions?▼

Use the amondnet/vercel-action step with your VERCEL_TOKEN, VERCEL_ORG_ID, and VERCEL_PROJECT_ID stored as GitHub secrets. Pass vercel-args '--prod' for production deploys on the main branch, or omit it for PR preview deployments.

What is the difference between blue-green and canary deployment?▼

Blue-green runs two full environments and switches all traffic at once after verification. Canary routes a small percentage of traffic to the new version first, monitors error rates, and gradually increases traffic if healthy.

How do I reduce Docker image size for Node.js apps?▼

Use multi-stage builds with a node:20-alpine base, copying only production dependencies and build output into the final stage. Add a .dockerignore excluding node_modules, .git, and env files, and order layers from least to most frequently changed.

How do I run database migrations in a CI/CD pipeline?▼

Add a pipeline step that runs npx prisma migrate deploy with DATABASE_URL provided from CI secrets. Run migrations before the new application version starts serving traffic so the schema matches the deployed code.

Why does my GitHub Actions workflow run on every push including docs changes?▼

By default workflows trigger on all pushes. Add a paths filter to the on.push block to limit runs to directories like src/**, or use paths-ignore to exclude markdown and docs files.