Skip to content
Codeloom

Topics / CI/CD

CI/CD

Continuous integration and delivery. GitHub Actions, pipelines, and best practices.

Why learn CI/CD?

  • Catches broken builds before they reach main.

  • Automates the boring parts: tests, linting, releases, deploys.

  • Industry-standard practice — expected on every serious team.

  • Skills transfer across GitHub Actions, GitLab CI, CircleCI, etc.

What you can build with CI/CD

Running tests on every PR Automated deploys to staging and prod Publishing packages and Docker images Scheduled jobs and cron-like workflows

CI/CD tutorials

32 articles · page 1 of 2

Hand-written tutorials, ordered as a recommended learning path.

  1. 01 What Is CI/CD? A clear introduction to CI/CD — what continuous integration and continuous delivery actually mean, why teams adopt them, and the tools that implement them in practice.
  2. 02 First GH Actions Workflow Write your first GitHub Actions workflow from scratch — set up .github/workflows/ci.yml, run tests on every push and pull request, and add a status badge to your README.
  3. 03 Deploy with GH Actions A practical guide to production deploys with GitHub Actions — environments, secrets, OIDC, deploy-on-tag vs deploy-on-main, and pushing images to AWS, Vercel, or Fly.
  4. 04 Matrix Builds Master GitHub Actions matrix strategies with fail-fast control, dynamic matrices from scripts, include/exclude rules, and real-world multi-platform testing patterns.
  5. 05 Artifact Management Master CI/CD artifact management with dependency caching, build artifact storage, retention policies, and cross-job artifact sharing patterns.
  6. 06 Deployment Strategies Understand blue-green, canary, rolling, and A/B deployment strategies with architecture diagrams, real configuration examples, and guidance on when to use each.
  7. 07 Environment Promotion Implement robust environment promotion patterns with approval gates, environment protection rules, and automated validation at every stage.
  8. 08 Pipeline Security Harden your CI/CD pipelines with secret scanning, SAST integration, dependency audits, and supply chain security measures.
  9. 09 Custom Actions Create your own GitHub Actions from scratch using JavaScript, Docker containers, and composite steps. Includes publishing to the marketplace.
  10. 10 Reusable Workflows Build maintainable CI/CD by creating reusable workflows with typed inputs, secret inheritance, and output chaining across repositories.
  11. 11 GitLab CI vs Actions A detailed comparison of GitLab CI/CD and GitHub Actions covering syntax, features, runners, and a practical migration guide with side-by-side examples.
  12. 12 Actions vs Jenkins Compare GitHub Actions and Jenkins for CI/CD pipelines. Covers setup, configuration, plugins, pricing, and when to choose each tool for your team.
  13. 13 Artifact Management Learn how to manage build artifacts in CI/CD pipelines including versioning, storage, promotion strategies, and cleanup policies.
  14. 14 Automated Testing Structure automated tests in your CI/CD pipeline — unit, integration, and end-to-end testing strategies, parallel execution, and failure handling.
  15. 15 Deployment Strategies Learn the most popular CI/CD deployment strategies including blue-green, canary, and rolling deployments with practical examples and configuration.
  16. 16 Docker Build Optimization Speed up Docker builds in CI/CD — multi-stage builds, layer caching, BuildKit, registry caching, and slim base images for faster deployments.
  17. 17 GitHub Actions Complete Set up GitHub Actions CI/CD from scratch — workflows, jobs, caching, secrets, matrix builds, deployment, and reusable patterns for any language or framework.
  18. 18 Monorepo Pipelines Build efficient CI/CD pipelines for monorepos using Turborepo and Nx with smart caching, affected-only builds, and parallel execution.
  19. 19 Pipeline Best Practices Build fast, reliable CI/CD pipelines — parallel stages, caching, fast feedback, trunk-based development, and deployment automation patterns.
  20. 20 Secrets Management Learn how to securely manage secrets in CI/CD pipelines using environment variables, vault integrations, and automated rotation strategies.