Skip to content

Commit c804581

Browse files
committed
refactor(docs): rebrand to ObjectOS and add deployment workflow
1 parent abbae82 commit c804581

5 files changed

Lines changed: 49 additions & 16 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Deploy Docs
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'apps/docs/**'
8+
- 'content/docs/**'
9+
- 'pnpm-lock.yaml'
10+
- '.github/workflows/deploy-docs.yml'
11+
workflow_dispatch:
12+
13+
concurrency:
14+
group: deploy-docs
15+
cancel-in-progress: false
16+
17+
jobs:
18+
deploy:
19+
runs-on: ubuntu-latest
20+
environment:
21+
name: cloudflare-docs
22+
url: https://objectos.objectstack.workers.dev
23+
permissions:
24+
contents: read
25+
steps:
26+
- uses: actions/checkout@v4
27+
- uses: pnpm/action-setup@v4
28+
- uses: actions/setup-node@v4
29+
with:
30+
node-version: 20
31+
cache: pnpm
32+
- run: pnpm install --frozen-lockfile
33+
- name: Deploy to Cloudflare Workers
34+
working-directory: apps/docs
35+
env:
36+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
37+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
38+
run: pnpm run deploy

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ coverage/
1414
.vercel
1515
.open-next/
1616
.wrangler/
17+
.playwright-mcp/
1718
cloudflare-env.d.ts
1819
*.db
1920
*.db-journal

apps/docs/app/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import type { Metadata } from 'next';
44

55
export const metadata: Metadata = {
66
title: {
7-
template: '%s | ObjectStack Protocol',
8-
default: 'ObjectStack Protocol',
7+
template: '%s | ObjectOS',
8+
default: 'ObjectOS',
99
},
10-
description: 'The Metadata-Driven Documentation Engine for the Low-Code Era.',
10+
description: 'Customer-hosted runtime for ObjectStack applications. Private, compliant, yours.',
1111
icons: {
1212
icon: 'https://objectstack.ai/logo.png',
1313
},

apps/docs/lib/layout.shared.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,16 @@ export function baseOptions(): BaseLayoutProps {
1414
<div className="flex items-center gap-2 font-bold">
1515
<Image
1616
src="https://objectstack.ai/logo.svg"
17-
alt="ObjectStack"
17+
alt="ObjectOS"
1818
width={30}
1919
height={30}
2020
/>
21-
ObjectStack
21+
ObjectOS
2222
</div>
2323
),
2424
transparentMode: 'top',
2525
},
26-
links: [
27-
{
28-
text: 'Documentation',
29-
url: '/docs/',
30-
active: 'nested-url',
31-
},
32-
],
26+
links: [],
3327
githubUrl: `https://github.com/${gitConfig.user}/${gitConfig.repo}`,
3428
};
3529
}

content/docs/meta.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"deployment",
77
"architecture",
88
"---Deploy---",
9-
"deploy",
9+
"...deploy",
1010
"---Configure---",
11-
"configure",
11+
"...configure",
1212
"---Operate---",
13-
"operate",
13+
"...operate",
1414
"---Reference---",
15-
"reference"
15+
"...reference"
1616
]
1717
}

0 commit comments

Comments
 (0)