Skip to content

Generated from corpus/lines/software/units/sw.pattern.static-web.md. Do not edit by hand — run python scripts/generate-corpus-docs.py.

sw.pattern.static-web

Status: draft (D3-aligned)
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