hermosodocs

push_site_to_github

Push a hosted project to GitHub destructive

Area: LAUNCH PAGES · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

Commit a hosted project's files (the live version, or version) to a GitHub repository (repo owner/name, branch default main) as one new commit: the branch's files become exactly the project's files, its history is kept, nothing is force-pushed, and a repository that does not exist is created private. Needs a GitHub fine-grained token from the user with Contents read and write (token; saveToken:true keeps it write-only for next time). Without confirm:true nothing is pushed; call again with confirm:true once the user says yes. Free.

Parameters

ParameterTypeDescription
namerequiredstringthe project (its hermoso.page name)
reporequiredstringowner/name, e.g. acme/spring-sale-site
branchstringdefault main
versionnumber
tokenstringthe user's GitHub token; omit to use a saved one
saveTokenboolean
messagestringthe commit message
confirmbooleantrue only after the user approved it

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/push_site_to_github.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"push_site_to_github","arguments":{"name":"<string>","repo":"<string>"}}}

CLI

hermoso call push_site_to_github --json '{"name":"<string>","repo":"<string>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 728 Publishing & scheduling tools · tools.json