Skip to content

Commit e0a6f4c

Browse files
committed
chore: deploy docs website
1 parent 46af8ce commit e0a6f4c

File tree

4 files changed

+58
-2
lines changed

4 files changed

+58
-2
lines changed

.github/workflows/docs.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Deploy docs site
2+
3+
on:
4+
push:
5+
branches: ['main']
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: 'pages'
15+
cancel-in-progress: true
16+
17+
jobs:
18+
deploy:
19+
environment:
20+
name: github-pages
21+
url: ${{ steps.deployment.outputs.page_url }}
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
27+
- name: Setup pnpm
28+
uses: pnpm/action-setup@v4
29+
with:
30+
version: 10
31+
run_install: false
32+
33+
- name: Setup Node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: 22
37+
cache: 'pnpm'
38+
39+
- name: Install dependencies
40+
run: pnpm install --frozen-lockfile
41+
42+
- name: Build
43+
run: pnpm --filter "@composify/*" build
44+
45+
- name: Setup Pages
46+
uses: actions/configure-pages@v5
47+
48+
- name: Upload artifact
49+
uses: actions/upload-pages-artifact@v3
50+
with:
51+
path: './packages/docs/dist'
52+
53+
- name: Deploy to GitHub Pages
54+
id: deployment
55+
uses: actions/deploy-pages@v4

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
composify.js.org

packages/docs/pages/cloud.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function Cloud() {
1616
tagline="Supercharge your editor"
1717
description="Hassle-free setup. Get the features that matter."
1818
actions={[
19-
{ label: 'Start free ›', href: 'https://app.composify.net', primary: true },
19+
{ label: 'Start free ›', href: 'https://composify.cloud', primary: true },
2020
{ label: 'Explore features →', href: '#features', primary: false },
2121
]}
2222
/>

packages/docs/vocs.config.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineConfig } from 'vocs';
22

33
export default defineConfig({
44
title: 'Composify',
5-
baseUrl: 'https://composify.js.org',
5+
baseUrl: 'https://docs.composify.cloud',
66
description: 'Server Driven UI made easy',
77
iconUrl: '/brand/icon.svg',
88
logoUrl: {

0 commit comments

Comments
 (0)