Initial commit: Fat Kiss site — Hugo + Decap CMS
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
BUILD_DIR="public"
|
||||
PREV_DIR="public.prev"
|
||||
|
||||
echo "[build] Hugo build starting..."
|
||||
docker compose run --rm build
|
||||
|
||||
if [ ! -f "$BUILD_DIR/index.html" ]; then
|
||||
echo "[build] ERROR: build failed — no index.html in $BUILD_DIR"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "[build] Build complete — $BUILD_DIR ready"
|
||||
Reference in New Issue
Block a user