Skip to content
Architecture

Architecture

Pipeline

    graph LR
    A[Git Push] --> B[GitLab CI]
    B --> C[Hugo Build]
    C --> D[rsync Deploy]
    D --> E[Scaleway VM]
    E --> F[Caddy HTTPS]
  

Stack

ComponentToolPurpose
Static site generatorHugo 0.159.0Markdown → HTML
CI/CDGitLab CIBuild and deploy
Web serverCaddy 2.11.2Serve with auto-HTTPS
VMScaleway DEV1-SHosting
DNSCloudflareDomain management

How Deployment Works

  1. Developer pushes to main branch
  2. GitLab CI triggers the pipeline
  3. Build stage: Hugo compiles markdown to static HTML
  4. Deploy stage: rsync copies the built site to the VM over SSH
  5. Caddy serves the files with automatic TLS certificates from Let’s Encrypt
Caddyfile
dev.jwbo.io {
    root * /var/www/hugo
    file_server
}