Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
chore: remove redundant build steps from documentation workflows and improve preview URL extraction
[email protected]6c26ba332fdc
diff --git a/.github/workflows/preview_docs.yml b/.github/workflows/preview_docs.ymlindex e1a5ca7e4..ad139837f 100644--- a/.github/workflows/preview_docs.yml+++ b/.github/workflows/preview_docs.yml@@ -34,10 +34,6 @@ jobs:- name: Install Fernrun: npm install -g fern-api- - name: Build documentation with Turbo- working-directory: ./fern- run: pnpm turbo run build --filter=composio-docs-- name: Generate preview URLid: generate-docsworking-directory: ./fern@@ -45,11 +41,11 @@ jobs:FERN_TOKEN: ${{ secrets.FERN_TOKEN }}POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}run: |- OUTPUT=$(pnpm turbo run preview -- --log-level debug)- echo "$OUTPUT"- URL=$(echo "$OUTPUT" | grep -oP 'Published docs to \K.*(?= \()')- echo "Preview URL: $URL"- echo "🌿 Preview your docs: $URL" > preview_url.txt+ pnpm turbo run preview -- --log-level debug \+ | tee turbo.log \+ | tee /dev/tty \+ | rg -oP 'Published docs to \K.*(?= \()' \+ | tee preview_url.txt- name: Comment URL in PRuses: thollander/[email protected]diff --git a/.github/workflows/publish_docs.yml b/.github/workflows/publish_docs.ymlindex 9538c97df..12d08dcfb 100644--- a/.github/workflows/publish_docs.yml+++ b/.github/workflows/publish_docs.yml@@ -29,10 +29,6 @@ jobs:uv syncuv pip install ../python- - name: Build documentation with Turbo- working-directory: ./fern- run: pnpm turbo run build --filter=composio-docs-- name: Publish Docsworking-directory: ./fernenv:diff --git a/fern/turbo.json b/fern/turbo.jsonindex e15a5355d..7f06d6c45 100644--- a/fern/turbo.json+++ b/fern/turbo.json@@ -81,13 +81,13 @@},"preview": {- "dependsOn": ["build"],+ "dependsOn": ["^build"],"cache": false,"env": ["FERN_TOKEN"]},"publish": {- "dependsOn": ["build"],+ "dependsOn": ["^build"],"cache": false,"env": ["FERN_TOKEN", "POSTHOG_API_KEY"]},