cli_deploy_up
Deploy updated images to VPS and restart production services via SSH for LaunchFrame projects.
Instructions
Deploy the latest images to the VPS and restart all production services via SSH.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to the LaunchFrame project root |
Implementation Reference
- src/tools/cli.ts:327-341 (handler)Implementation of the cli_deploy_up tool which executes 'launchframe deploy:up' via execSync.
server.tool( 'cli_deploy_up', 'Deploy the latest images to the VPS and restart all production services via SSH.', { projectPath: z.string().describe('Absolute path to the LaunchFrame project root'), }, async ({ projectPath }) => { try { const output = execSync('launchframe deploy:up', { cwd: projectPath, encoding: 'utf8' }); return { content: [{ type: 'text', text: output || 'Deployment complete.' }] }; } catch (error: any) { return { content: [{ type: 'text', text: error.message }] }; } } );