Skip to content

Commit 234e135

Browse files
ci: add GHA workflow to deploy csoai-gspc-mcp worker (#39)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent e9ccb31 commit 234e135

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy csoai-gspc-mcp Worker
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'workers/csoai-gspc-mcp/**'
8+
workflow_dispatch:
9+
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-latest
13+
name: Deploy to Cloudflare Workers
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: '20'
22+
23+
- name: Deploy Worker
24+
uses: cloudflare/wrangler-action@v3
25+
with:
26+
apiToken: ${{ secrets.CF_API_TOKEN }}
27+
accountId: ${{ secrets.CF_ACCOUNT_ID }}
28+
workingDirectory: workers/csoai-gspc-mcp

0 commit comments

Comments
 (0)