Sifat Ullah Sharkar

From git push to production

From git push to production: the pipeline shape I recommend for small teams, and the one I set up for services at Cocoon.

  • 5 steps
  • 2 min
  • Mar 2025 – present
Trigger
every push to main
Artifact
one Docker image
Targets
Railway · Vercel
git push Install Lint · tests Docker build Railway · Vercel pipeline log▸ on: push → main✓ npm ci (exact versions from the lockfile)✓ lint · typecheck · tests✕ any failure stops here: nothing is built or deployed✓ docker build (multi-stage, no build tools in the image)✓ deploy → Railway · Vercel (secrets from the platform)✓ released by the pipeline, never from a laptop
  1. 1Push
  2. 2Checks
  3. 3Build
  4. 4Deploy
  5. 5Recap