Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 6 additions & 35 deletions .github/workflows/marketing-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
name: Deploy Marketing Site

# Builds the Astro marketing site, the VitePress docs, the orb editor SPA,
# AND the browser demo SPA, then deploys the combined bundle to Cloudflare
# Pages (project: orbis-marketing → https://orbis.protolabs.studio). The
# docs are served at /docs (built with DOCS_BASE=/docs/), the editor at
# /editor (Vite base=/editor/), and the browser demo at /demo (Vite
# base=/demo/) — all copied into the Astro output before deploy, so one
# Cloudflare Pages project serves them.
# Builds the Astro marketing site, the VitePress docs, AND the orb editor
# SPA, then deploys the combined bundle to Cloudflare Pages (project:
# orbis-marketing → https://orbis.protolabs.studio). The docs are served at
# /docs (built with DOCS_BASE=/docs/) and the editor at /editor (Vite
# base=/editor/) — both copied into the Astro output before deploy, so one
# Cloudflare Pages project serves all three.

on:
push:
branches: [main]
paths:
- 'sites/marketing/**'
- 'sites/editor/**'
- 'sites/demo/**'
- 'packages/orb-runtime/**'
# The browser demo (sites/demo) bundles the real app from web/src as
# source, so app changes must redeploy it or /demo serves stale code.
- 'web/**'
- 'docs/**'
- 'package.json'
- 'package-lock.json'
Expand Down Expand Up @@ -97,30 +92,6 @@ jobs:
mkdir -p sites/marketing/dist/editor
cp -R sites/editor/dist/. sites/marketing/dist/editor/

# --- Browser demo (Vite SPA / bun) served at /demo ---
# Runs the real app (web/src) in the browser via a Tauri shim; see
# sites/demo/vite.config.ts.
# The demo bundles web/src as source, so web's deps must be installed for
# its bare imports (lucide-react, @react-three/postprocessing, …) to
# resolve here — locally web/node_modules already exists, but CI is clean.
- name: Install web app dependencies (bundled as source by the demo)
run: bun install
working-directory: web

- name: Install demo dependencies
run: bun install
working-directory: sites/demo

- name: Build browser demo (base /demo/)
run: bun run build
working-directory: sites/demo

- name: Fold demo into the marketing bundle at /demo
run: |
rm -rf sites/marketing/dist/demo
mkdir -p sites/marketing/dist/demo
cp -R sites/demo/dist/. sites/marketing/dist/demo/

- name: Deploy to Cloudflare Pages
run: bunx wrangler pages deploy dist --project-name=orbis-marketing --branch=main
working-directory: sites/marketing
Expand Down
3 changes: 0 additions & 3 deletions sites/demo/.gitignore

This file was deleted.

1,455 changes: 0 additions & 1,455 deletions sites/demo/bun.lock

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions sites/demo/dist/assets/index-9Exuw2Dr.css

Large diffs are not rendered by default.

5,889 changes: 5,889 additions & 0 deletions sites/demo/dist/assets/index-fEqLULUK.js

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions sites/demo/dist/assets/llm.worker-Bfp8AhaW.js

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
4,156 changes: 4,156 additions & 0 deletions sites/demo/dist/assets/speech.worker-DS1vd6BU.js

Large diffs are not rendered by default.

File renamed without changes
5 changes: 3 additions & 2 deletions sites/demo/index.html → sites/demo/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
<html lang="en" class="dark" data-theme="dark">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="%BASE_URL%favicon.svg" />
<link rel="icon" type="image/svg+xml" href="/demo/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<title>ORBIS — Browser Preview</title>
<meta
name="description"
content="Try ORBIS in your browser — the real app, running on-device. No install, no sign-up."
/>
<script type="module" crossorigin src="/demo/assets/index-fEqLULUK.js"></script>
<link rel="stylesheet" crossorigin href="/demo/assets/index-9Exuw2Dr.css">
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
47 changes: 0 additions & 47 deletions sites/demo/package.json

This file was deleted.

134 changes: 0 additions & 134 deletions sites/demo/src/backend/router.ts

This file was deleted.

122 changes: 0 additions & 122 deletions sites/demo/src/components/DemoComposer.tsx

This file was deleted.

Loading
Loading