Files
boc/glossary/deploy.sh
T
Bernt 1a12fb870b dev-api: add developer portal, OpenAPI spec, and Flatenbadet case study
- New /developers/ page with API docs, SDKs, pricing, use cases
- OpenAPI 3.0 spec for Orders, Missions, Photos, Analytics
- Case study: Glasskiosken i Flatenbadet — complete ROI analysis
- Updated /order/ with recurring missions and frequency dropdown
2026-07-14 15:27:33 +00:00

31 lines
1.5 KiB
Bash
Executable File

#!/bin/bash
# Deploy glossary to all domains
set -e
DIST_DIR="/home/bernt/.openclaw/workspace/glossary/dist"
DATA_FILE="/home/bernt/.openclaw/workspace/glossary/glossary-data.json"
echo "🚀 Deploying Glossary..."
# Deploy to quixzoom.com
echo "📤 Deploying to quixzoom.com..."
aws s3 cp "$DIST_DIR/index.html" s3://quixzoom.com/glossary/index.html --content-type "text/html; charset=utf-8"
aws s3 cp "$DATA_FILE" s3://quixzoom.com/glossary/glossary-data.json --content-type "application/json"
aws cloudfront create-invalidation --distribution-id E1XAMPLE --paths "/glossary/*" > /dev/null 2>&1 || true
# Deploy to landvex.com
echo "📤 Deploying to landvex.com..."
aws s3 cp "$DIST_DIR/index.html" s3://landvex.com/glossary/index.html --content-type "text/html; charset=utf-8"
aws s3 cp "$DIST_DIR/glossary-landvex.html" s3://landvex.com/glossary/landvex.html --content-type "text/html; charset=utf-8"
aws s3 cp "$DATA_FILE" s3://landvex.com/glossary/glossary-data.json --content-type "application/json"
aws cloudfront create-invalidation --distribution-id E2XAMPLE --paths "/glossary/*" > /dev/null 2>&1 || true
# Deploy to aamos.ai
echo "📤 Deploying to aamos.ai..."
aws s3 cp "$DIST_DIR/glossary-aamos.html" s3://aamos.ai/glossary/index.html --content-type "text/html; charset=utf-8"
aws s3 cp "$DATA_FILE" s3://aamos.ai/glossary/glossary-data.json --content-type "application/json"
aws cloudfront create-invalidation --distribution-id E3XAMPLE --paths "/glossary/*" > /dev/null 2>&1 || true
echo "✅ Glossary deployed to all domains!"