ci: add deploy-mcp job for production and development#54
Open
devallibus wants to merge 2 commits intomasterfrom
Open
ci: add deploy-mcp job for production and development#54devallibus wants to merge 2 commits intomasterfrom
devallibus wants to merge 2 commits intomasterfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
deploy-mcpCI job that auto-deploys the MCP Cloudflare Worker on push tomaster(production) anddevelopment(staging)[env.development]towrangler.toml— deploys as separate workershaderbase-mcp-devpointed at the Railway dev environmentdev,deploy,deploy:devscripts to MCP package.jsonDetails
wrangler deploy→shaderbase-mcpatmcp.shaderbase.comwrangler deploy --env development→shaderbase-mcp-devat*.workers.devdeploy-registryandpublish-clijobs are unchanged (master-only guards intact)developmentbranch added to CI push triggersTest plan
deploy-mcpjob runs and deploys production workerdeploy-mcpjob runs with--env development🤖 Generated with Claude Code