Skip to content

ci: add deploy-mcp job for production and development#54

Open
devallibus wants to merge 2 commits intomasterfrom
ci/deploy-mcp
Open

ci: add deploy-mcp job for production and development#54
devallibus wants to merge 2 commits intomasterfrom
ci/deploy-mcp

Conversation

@devallibus
Copy link
Owner

Summary

  • Add deploy-mcp CI job that auto-deploys the MCP Cloudflare Worker on push to master (production) and development (staging)
  • Add [env.development] to wrangler.toml — deploys as separate worker shaderbase-mcp-dev pointed at the Railway dev environment
  • Add dev, deploy, deploy:dev scripts to MCP package.json

Details

  • Production deploy: wrangler deployshaderbase-mcp at mcp.shaderbase.com
  • Staging deploy: wrangler deploy --env developmentshaderbase-mcp-dev at *.workers.dev
  • Existing deploy-registry and publish-cli jobs are unchanged (master-only guards intact)
  • development branch added to CI push triggers

Test plan

  • CI passes on this PR (check job only, no deploys since it's a PR)
  • After merge to master: deploy-mcp job runs and deploys production worker
  • After merge to development: deploy-mcp job runs with --env development

🤖 Generated with Claude Code

devallibus and others added 2 commits March 9, 2026 19:56
Automate MCP Cloudflare Worker deploys via CI instead of manual wrangler deploy.
Pushes to master deploy production, pushes to development deploy a staging
worker (shaderbase-mcp-dev) pointed at the Railway dev environment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Split deploy-mcp into separate conditional steps for production and
development to avoid passing --env="" on master (which targets an
empty-named environment instead of production). Add wrangler as a
devDependency so local scripts work from a clean checkout.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant