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
56 changes: 56 additions & 0 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Deploy Website

on:
push:
branches: [main]
paths: ['website/**', '.github/workflows/deploy-website.yml']
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pnpm/action-setup@v4
with:
version: 9.15.0

- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build website
run: pnpm --filter open-codesign-website build

- uses: actions/configure-pages@v4

- uses: actions/upload-pages-artifact@v3
with:
path: website/.vitepress/dist

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ pnpm-debug.log*
.claude/workspace/
.claude/worktrees/
*.local

# VitePress
website/.vitepress/dist/
website/.vitepress/cache/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Open-source AI design tool — prompt to interactive prototype, slide deck, and marketing assets. Multi-model, BYOK, runs on your laptop.

[Vision](./docs/VISION.md) · [Roadmap](./docs/ROADMAP.md) · [Contributing](./CONTRIBUTING.md) · [Collaboration](./docs/COLLABORATION.md)
[Vision](./docs/VISION.md) · [Roadmap](./docs/ROADMAP.md) · [Website](https://opencoworkai.github.io/open-codesign/) · [Contributing](./CONTRIBUTING.md) · [Collaboration](./docs/COLLABORATION.md)

---

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"lint:fix": "biome check --write .",
"typecheck": "turbo run typecheck",
"format": "biome format --write .",
"docs:dev": "pnpm --filter open-codesign-website dev",
"docs:build": "pnpm --filter open-codesign-website build",
"docs:preview": "pnpm --filter open-codesign-website preview",
"changeset": "changeset",
"version-packages": "changeset version",
"release": "turbo run build && changeset publish"
Expand Down
Loading
Loading