File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish MCP Server
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*.*.*'
7+
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout repository
13+ uses : actions/checkout@v4
14+
15+ - name : Update server.json version from tag
16+ run : |
17+ VERSION=${GITHUB_REF_NAME#v}
18+ echo "Updating server.json to version $VERSION"
19+ jq --arg v "$VERSION" '.version = $v' server.json > server.json.tmp && mv server.json.tmp server.json
20+
21+ - name : Download mcp-publisher
22+ run : |
23+ curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64" -o mcp-publisher
24+ chmod +x mcp-publisher
25+
26+ - name : Login and Publish to MCP Registry
27+ run : |
28+ ./mcp-publisher login dns --domain webflow.com --private-key ${{ secrets.MCP_PRIVATE_KEY }}
29+ ./mcp-publisher publish
You can’t perform that action at this time.
0 commit comments