docs: remove redundant validation steps from GitHub Actions guide (#440)

Remove 'Test Before Publishing' and 'Notification Setup' sections from
github-actions.md as these steps are redundant since the publisher API
already handles validation.

Fixes #432

Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: adam jones <domdomegg@users.noreply.github.com>
This commit is contained in:
adam jones 2025-09-11 09:34:21 -07:00 • committed by GitHub
commit 7299960430
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -272,41 +272,6 @@ Only publish to registry after package publishing succeeds:
run: ./mcp-publisher publish
```
### 3. Test Before Publishing
Include validation in your workflow:
```yaml
- name: Validate server.json
run: |
# Validate against schema
curl -s https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json | \
jq . > schema.json
npx ajv-cli validate -s schema.json -d server.json
# Test with publisher
./mcp-publisher init --validate-only
```
### 4. Notification Setup
Get notified of publishing status:
```yaml
- name: Notify on success
if: success()
run: |
curl -X POST "${{ secrets.WEBHOOK_URL }}" \
-H "Content-Type: application/json" \
-d '{"text": "✅ MCP server ${{ github.repository }} published successfully"}'
- name: Notify on failure
if: failure()
run: |
curl -X POST "${{ secrets.WEBHOOK_URL }}" \
-H "Content-Type: application/json" \
-d '{"text": "❌ MCP server ${{ github.repository }} publishing failed"}'
```
## Troubleshooting