Publish to Netrun
netrun_publishDeploys a project by uploading its folder, auto-detects the language, and returns a public URL after the build. Requests missing secrets to complete.
Instructions
Upload a project folder and put it online: creates a new project (pass name) or ships a new version of an existing one (pass project_id). Detects the language automatically (Python, Node, Go, Rust, PHP, static HTML, Docker, docker-compose…). Waits for the build and returns the public URL or the failure reason. If it returns needs_secrets, ask the user for the values and call again with "secrets".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for a NEW project (becomes part of the URL). Omit when updating an existing project. | |
| path | Yes | Absolute path to the project folder on this machine | |
| wait | No | Wait for the build to finish (up to wait_seconds). false = return right after upload. | |
| comment | No | Short note for the version history, e.g. "fix /start handler" | |
| secrets | No | Secrets as {"BOT_TOKEN": "123:abc"}. Stored encrypted; delivered to the app as environment variables via .env. Ask the user for values — never invent them. | |
| project_id | No | Existing project to update. Omit to create a new one. | |
| skip_secrets | No | Publish even though the code seems to read env variables that were not provided. Use only after the user confirmed the app does not need them. | |
| wait_seconds | No |