9a0ac0c0ee
- Update AGENTS.md to reflect main as default branch - Update GitHub Actions workflows to trigger on main branch - Update publish scripts to cherry-pick from origin/main - Update upstream merge scripts and documentation - Update CONTRIBUTING.md links in PR standards workflow - Fix disabled workflow and documentation links All development commands (bun dev, npm run dev) and external services (models.dev, ai-sdk.dev) remain unchanged as they are unrelated to branch names.
31 lines
645 B
YAML
31 lines
645 B
YAML
name: docs-build
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- "packages/kilo-docs/**"
|
|
pull_request:
|
|
paths:
|
|
- "packages/kilo-docs/**"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
name: Build docs site
|
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Bun
|
|
uses: ./.github/actions/setup-bun
|
|
|
|
- name: Build site
|
|
run: bun run --filter @kilocode/kilo-docs build
|
|
env:
|
|
NEXT_PUBLIC_POSTHOG_KEY: ${{ secrets.POSTHOG_API_KEY }}
|
|
|
|
- name: Run tests
|
|
run: bun run --filter @kilocode/kilo-docs test
|