docs: clarify release deployment process and enable manual deploy trigger

- Add workflow_dispatch to deploy.yml for manual deployment triggers
- Document that releases don't auto-deploy to production
- Add instructions for deploying releases to production
- Add verification steps for deployment

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
tadasant 2025-09-29 18:54:56 -07:00
commit c40374c280
3 changed files with 134 additions and 112 deletions

View file

@ -308,7 +308,7 @@ func createServerJSON(
URL: repoURL,
Source: repoSource,
},
Version: version,
Version: version,
Packages: []model.Package{pkg},
}
}

View file

@ -13,7 +13,7 @@ func LogoutCommand() error {
}
tokenPath := filepath.Join(homeDir, TokenFileName)
// Check if token file exists
if _, err := os.Stat(tokenPath); os.IsNotExist(err) {
_, _ = fmt.Fprintln(os.Stdout, "Not logged in")
@ -30,7 +30,7 @@ func LogoutCommand() error {
".mcpregistry_github_token",
".mcpregistry_registry_token",
}
for _, file := range legacyFiles {
path := filepath.Join(homeDir, file)
if _, err := os.Stat(path); err == nil {
@ -40,4 +40,4 @@ func LogoutCommand() error {
_, _ = fmt.Fprintln(os.Stdout, "✓ Successfully logged out")
return nil
}
}

View file

@ -67,4 +67,4 @@ func printUsage() {
_, _ = fmt.Fprintln(os.Stdout, " publish Publish server.json to the registry")
_, _ = fmt.Fprintln(os.Stdout)
_, _ = fmt.Fprintln(os.Stdout, "Use 'mcp-publisher <command> --help' for more information about a command.")
}
}