Skip to content

Commit b43a58b

Browse files
chmaltspclaude
andauthored
ci: Trigger seam-mcp redeploy on docs changes (#1103)
Adds a workflow that fires on push to main and dispatches the seam-mcp deploy workflow via the SEAM_CI_BOT GitHub App. This keeps the public MCP's embedding index in sync with docs changes without requiring a separate nightly rebuild. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 6345f9b commit b43a58b

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Trigger MCP Redeploy
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch: {}
9+
10+
# Only one in-flight trigger at a time; a later main-branch push
11+
# supersedes any queued one so we don't deploy stale docs.
12+
concurrency:
13+
group: trigger-mcp-redeploy
14+
cancel-in-progress: true
15+
16+
jobs:
17+
dispatch:
18+
name: Dispatch seam-mcp deploy
19+
runs-on: ubuntu-latest
20+
timeout-minutes: 5
21+
steps:
22+
- name: Generate GitHub App token
23+
id: app-token
24+
uses: actions/create-github-app-token@v1
25+
with:
26+
app-id: ${{ secrets.SEAM_CI_BOT_APP_ID }}
27+
private-key: ${{ secrets.SEAM_CI_BOT_PRIVATE_KEY }}
28+
owner: seamapi
29+
repositories: seam-mcp
30+
31+
- name: Dispatch deploy workflow
32+
env:
33+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
34+
run: |
35+
gh workflow run deploy.yml \
36+
--repo seamapi/seam-mcp \
37+
--ref main

0 commit comments

Comments
 (0)