Skip to content

Conversation

@jonathannorris
Copy link
Member

@jonathannorris jonathannorris commented Jul 31, 2025

feat: add Cloudflare Worker deployment workflow

Adds a new GitHub Actions workflow to automatically deploy the MCP Worker to Cloudflare Workers.

Key Features

  • Smart deployment: Only deploys when relevant files change (mcp-worker/, src/mcp/, or the workflow itself)
  • Manual trigger: Supports workflow_dispatch for manual deployments

@jonathannorris jonathannorris requested a review from a team as a code owner July 31, 2025 20:29
@jonathannorris jonathannorris requested a review from JamieSinn July 31, 2025 20:29

- name: Deploy to Cloudflare Workers
if: steps.changes.outputs.changed == 'true'
uses: cloudflare/wrangler-action@v3

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Deploy MCP Worker' step
Uses Step
uses 'cloudflare/wrangler-action' with ref 'v3', not a pinned commit hash
Copy link
Member

@JamieSinn JamieSinn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't how we should deploy.

We should bind the repo/path to the worker via the cloudflare dashboard. We should never set secrets like this.

@jonathannorris jonathannorris deleted the chore-action-worker-release branch July 31, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants