Skip to content

feat: add website and documentation #1

feat: add website and documentation

feat: add website and documentation #1

Workflow file for this run

name: Deploy Docs
on:
push:
branches: [main]
paths:
- 'website/**'
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: oven-sh/setup-bun@v2
- name: Install dependencies
run: cd website && bun install --frozen-lockfile || bun install
- name: Build docs
run: cd website && bun run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs
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