@devries-cameron20 / composio Mirror · read-only / commits / facb65719
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 23, 00:30 UTC

refactor: update documentation workflow to use Turbo for building and publishing (#1638)

Siddharth Balyan committed Jun 14, 2025 at 10:57 UTC facb6571976fc4ddf8d5470de1b310decca6ce6c
1 file changed +5 -13
.github/workflows/publish_docs.yml
+5 -13
@@ -12,16 +12,13 @@ jobs:
12 image: ghcr.io/composiohq/dev-base:latest
13 if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/heads/next') && github.run_number > 1 }}
14 permissions: write-all
15 - defaults:
16 - run:
17 - working-directory: ./fern
15 env:
16 COMPOSIO_API_KEY: ${{ inputs.api_key || secrets.COMPOSIO_API_KEY_PROD }}
17 steps:
18 - name: Checkout repository
19 uses: actions/checkout@v4
20
24 - - name: Install local dependencies
21 + - name: Install dependencies
22 run: pnpm install
23
24 - name: Install Python Dependencies
@@ -29,19 +26,14 @@ jobs:
26 uv sync
27 uv run composio apps generate-types
28
32 - - name: Generate Tool Documentation
33 - run: pnpm tools:generate && pnpm tools:uncomment
34 -
35 - - name: Generate SDK Reference
36 - run: pnpm sdkdocs
37 -
29 - name: Install Fern
30 run: npm install -g fern-api
31
41 - - name: Pull Latest OpenAPI Specification
42 - run: pnpm api:pull
32 + - name: Build documentation with Turbo
33 + run: turbo run build --filter=fern
34
35 - name: Build examples
36 + working-directory: ./fern
37 run: pnpm examples:build
38
39 - name: Publish Docs
@@ -49,4 +41,4 @@ jobs:
41 POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
42 FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
43 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52 - run: fern generate --docs
44 + run: turbo run publish --filter=fern
\ No newline at end of file