#!/usr/bin/env bash # compile-site.sh — build the Eleventy marketing site into # dist/marketing.tar.gz. Site pipeline (site-v*). Marketing pages only — # the web version of the app is built by compile-client-web.sh. set -euo pipefail # shellcheck source=scripts/ci/_env.sh . "$(dirname "$0")/_env.sh" TAG="$1" echo "==> compile-site: tag=${TAG}" cd web npm ci --prefer-offline npm run build cd .. mkdir -p dist tar -czf dist/marketing.tar.gz -C web/dist . echo "==> compile-site: done — dist/ contents:" ls -lh dist/