Skip to content

feat: Add unified ToolSpec for built-in and MCP tools #6

feat: Add unified ToolSpec for built-in and MCP tools

feat: Add unified ToolSpec for built-in and MCP tools #6

Workflow file for this run

name: Build and Deploy Docusaurus
on:
push:
branches:
- main
paths:
- 'docusaurus-site/**'
- 'docs/**'
- '.github/workflows/deploy-docs.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docusaurus-site
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: './docusaurus-site/package-lock.json'
- name: Install dependencies
run: npm ci
- name: Sync shared documentation
run: |
# Copy any shared docs from /docs to docusaurus-site/docs if needed
# This is a placeholder for future documentation consolidation
echo "Documentation sync: Single source of truth in docusaurus-site/docs/"
- name: Build website
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docusaurus-site/build
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4