Deploy JS Application
hosting_deploy_js_appDeploy a JavaScript application from an archive. Provide source files only; the server builds automatically, and you can monitor deployment status.
Instructions
Deploy a JavaScript application from an archive. The archive must contain source files only (no node_modules, no build output). Build runs automatically on server. Use hosting_deploy_list_js to check status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Website domain | |
| username | Yes | Hosting account username | |
| output_dir | No | Output directory override (auto-detected if omitted) | |
| archive_path | Yes | Relative path to the archive file on the server (already uploaded via file manager) | |
| node_version | No | Node.js version to use | |
| build_command | No | Build command override (auto-detected from package.json if omitted) |