Skip to content

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

Manual trigger workflow for docs (#1953)

Sushmitha Malleshcaaa03e45a00
diff --git a/.github/workflows/publish_docs.yml b/.github/workflows/publish_docs.yml
index e3e11b176..4f23496c0 100644
--- a/.github/workflows/publish_docs.yml
+++ b/.github/workflows/publish_docs.yml
@@ -4,13 +4,20 @@ on:
push:
branches:
- next
+ workflow_dispatch:
+ inputs:
+ branch:
+ description: 'Branch to publish docs from'
+ required: false
+ default: 'next'
+ type: string
jobs:
run:
runs-on: ubuntu-latest
container:
image: ghcr.io/composiohq/dev-base:latest
- if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/heads/next') && github.run_number > 1 }}
+ if: ${{ (github.event_name == 'push' && contains(github.ref, 'refs/heads/next') && github.run_number > 1) || github.event_name == 'workflow_dispatch' }}
permissions: write-all
env:
COMPOSIO_API_KEY: ${{ inputs.api_key || secrets.COMPOSIO_API_KEY_PROD }}