summaryrefslogtreecommitdiff
path: root/examples/witryna.yaml
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2026-01-22 22:07:32 +0100
committerDawid Rycerz <dawid@rycerz.xyz>2026-02-10 18:44:26 +0100
commit064a1d01c5c14f5ecc032fa9b8346a4a88b893f6 (patch)
treea2023f9ccd297ed8a41a3a0cc5699c2add09244d /examples/witryna.yaml
witryna 0.1.0 — initial releasev0.1.0
Minimalist Git-based static site deployment orchestrator. Webhook-triggered builds in Podman/Docker containers with atomic symlink publishing, SIGHUP hot-reload, and zero-downtime deploys. See README.md for usage, CHANGELOG.md for details.
Diffstat (limited to 'examples/witryna.yaml')
-rw-r--r--examples/witryna.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/witryna.yaml b/examples/witryna.yaml
new file mode 100644
index 0000000..3d6a09f
--- /dev/null
+++ b/examples/witryna.yaml
@@ -0,0 +1,14 @@
+# witryna.yaml — per-repository build configuration
+# Place this file in the root of your Git repository.
+# Supported filenames: .witryna.yaml, .witryna.yml, witryna.yaml, witryna.yml
+# Or set config_file in witryna.toml for a custom path.
+# See witryna.toml(5) for overriding these values in the server config.
+
+# Container image for the build environment
+image: node:20-alpine
+
+# Build command (executed via sh -c inside the container)
+command: "npm ci && npm run build"
+
+# Directory containing built static assets (relative to repo root)
+public: dist