20 lines
368 B
Bash
Executable File
20 lines
368 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
echo "🚀 Building Nitrokite Marketing Site..."
|
|
|
|
# Navigate to marketing directory
|
|
cd "$(dirname "$0")"
|
|
|
|
# Install dependencies if needed
|
|
if [ ! -d "node_modules" ]; then
|
|
echo "📦 Installing dependencies..."
|
|
npm install
|
|
fi
|
|
|
|
# Build the site
|
|
echo "🔨 Building static site..."
|
|
npm run build
|
|
|
|
echo "✅ Build complete! Output in ./dist/"
|