CI/CD Pipeline
Ever Works uses GitHub Actions for continuous integration and deployment. The pipeline consists of three workflows that handle testing, Docker image building, and Kubernetes deployment.
Workflow Overview
| Workflow | File | Trigger | Purpose |
|---|---|---|---|
| CI | ci.yml | Push/PR to main, develop, stage | Lint, build, test |
| Docker Build & Publish | docker-build-publish-prod.yml | Push to main | Build and push Docker images |
| Deploy to DO Prod | deploy-do-prod.yml | After Docker Build completes on main | Deploy to Kubernetes |
CI Workflow
File: .github/workflows/ci.yml
Triggers
on:
push:
branches: [main, develop, stage]
pull_request:
branches: [main, develop, stage]
workflow_dispatch:
The CI workflow runs on every push and pull request to the three main branches, plus manual dispatch.