Skip to content

chore: update CODEOWNERS #385

chore: update CODEOWNERS

chore: update CODEOWNERS #385

Workflow file for this run

# Build and deploy the book to GitHub Pages
name: book
on:
push:
branches: [main]
pull_request:
branches: [main]
merge_group:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: oven-sh/setup-bun@v2
- name: Check documented dependency versions
run: bun scripts/check-versions.ts
- name: Check documentation structure and links
run: bun scripts/check-docs.ts
- name: Build Vocs
run: cd vocs && bun install --frozen-lockfile && bun run build
- name: Check generated discovery files
run: |
test -f vocs/dist/public/sitemap.xml
test -f vocs/dist/public/robots.txt
test -f vocs/dist/public/llms.txt
test -f vocs/dist/public/llms-full.txt
test -f vocs/dist/public/agent-index.json
if grep -q '](/' vocs/dist/public/llms.txt; then exit 1; fi
if grep -q '](/' vocs/dist/public/llms-full.txt; then exit 1; fi
test ! -d vocs/dist/public/templates
# Only prepare for deploy if a push to main
- name: Setup Pages
if: github.ref_name == 'main' && github.event_name == 'push'
uses: actions/configure-pages@v5
# Only prepare for deploy if a push to main
- name: Upload artifact
if: github.ref_name == 'main' && github.event_name == 'push'
uses: actions/upload-pages-artifact@v3
with:
path: "vocs/dist/public"
deploy:
# Only deploy if a push to main
if: github.ref_name == 'main' && github.event_name == 'push'
runs-on: ubuntu-latest
timeout-minutes: 60
needs: [build]
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4