Skip to content

chore(release): v0.0.2 #3

chore(release): v0.0.2

chore(release): v0.0.2 #3

Workflow file for this run

name: Deploy MCP Worker
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: tickward-mcp-production
cancel-in-progress: false
jobs:
deploy:
name: Check and deploy
runs-on: ubuntu-latest
timeout-minutes: 20
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Prepare production Wrangler config
env:
CLOUDFLARE_OAUTH_KV_NAMESPACE_ID: ${{ secrets.CLOUDFLARE_OAUTH_KV_NAMESPACE_ID }}
run: npm run worker:prepare-production-config
- name: Check
run: npm run check
- name: Deploy
run: npm run worker:deploy