DEV Community

ZNY
ZNY

Posted on

I Wasted 10 Hours on CI/CD Setup. Then I Found GitHub Actions.

I Wasted 10 Hours on CI/CD Setup. Then I Found GitHub Actions.

The old way of CI/CD is over-engineered. Here's what finally made deployment click for me.

The Jenkins Nightmare

Three years ago, I set up Jenkins for a small project. It took:

  • 4 hours to install and configure
  • 3 hours to debug the Java memory errors
  • 2 hours to figure out why the build agents kept going offline
  • 1 hour to realize I needed a Master's in Jenkins pipeline DSL

For a project with 3 developers. That was the moment I understood: CI/CD tooling had an onboarding problem.

What Changed: GitHub Actions

GitHub Actions solved everything:

Setup time: 10 minutes
Create a .github/workflows folder. Add a YAML file. Push. That's it.

The workflow file:

name: Node.js CI
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '20'
      - run: npm ci
      - run: npm test
Enter fullscreen mode Exit fullscreen mode

One file. Tests on every push. No server maintenance.

What I Actually Use Now

GitHub Actions (Free Tier)

2,000 minutes/month on public repos. For most personal projects, this is unlimited.

What I run:

  • Test suites (Node, Python, Go)
  • Docker image builds
  • Deployment to VPS via SSH
  • Scheduled database backups

Cost: $0/month

Self-hosted Runners (For Private Projects)

When I need more than the free tier, I spin up a $6/month VPS as a self-hosted runner. More control, still cheap.

Coolify (For Full Self-Hosting)

Coolify is a free, self-hosted alternative for when I want zero GitHub dependency. Docker + Traefik + GitHub Actions runner, all in one VPS.

The Comparison

Platform Setup Time Monthly Cost Maintenance
Jenkins 4+ hours $0 High
CircleCI 30 minutes $0 (1k mins) Low
GitHub Actions 10 minutes $0 (2k mins) Near zero
GitLab CI 30 minutes $0 (400 mins) Low
Coolify 20 minutes $6 (VPS) Low

What I'd Tell Myself 3 Years Ago

Don't self-host Jenkins unless you have a team dedicated to maintaining it. GitHub Actions has made CI/CD accessible to solo developers in a way that was never possible before.

The 2,000 free minutes/month covers most personal projects. When you need more, a $6 VPS with self-hosted runners is cheaper than CircleCI's paid tier.

CI/CD doesn't need to be complicated. Start with one workflow file.

What CI/CD setup are you using? Still fighting with Jenkins or moved to something simpler?

For developers building their toolchain, Frase.io helps understand what questions your audience is asking about developer workflows.

Top comments (0)