Skip to content

Extracted from archived corpus. See archive/compiler-v1/ for original.

sw.pattern.static-web

Status: active (approved by PROP-M2-PATTERN-MODE) Sources: Lab/Runtime AGENTS; D3; historical hectorsanchez.eu static pattern (superseded layout)

Place in pattern family

Same CI/CD choreography as other self-hosted apps (sw.lifecycle.deploy). This unit only changes templates/details (static dist/, nginx root, no app systemd).

When to use

  • Build output is static files (HTML/CSS/JS).
  • No long-running app process on konstant.
  • If the app is Vercel-native static instead, use sw.pattern.vercel.

Guardrails

  • Standalone repo after promote; CI builds and publishes artifact to konstant deploy layout.
  • nginx serves static files only.
  • Catalog page (if any) only after live URL verify.
  • Host default: konstant (D2).

Historical note

Old monorepo content/lab/ paths in archived pattern files are not authoritative.

Prohibited

  • Adding a backend systemd unit without switching to dynamic pattern
  • Targeting decommissioned VPS