Deploy with Levelrail
Needs APP_API_URL and APP_API_TOKEN set (see the levelrail skill). Never print or store the token.
- Inspect the project first:
levelrail-cli apps detect --json(offline) shows the language, build method and port. If there is noapp.yaml, runlevelrail-cli init. - Commit and push. A push to the tracked branch deploys through the webhook. To deploy by hand:
levelrail-cli apps deploy <app>. - Preview a spec change without applying it:
levelrail-cli apps preflight <app>(MCP:preflight_app,plan_change). - Do not assume a deploy worked. Block until it converges:
levelrail-cli apps wait <app>. The exit code says whether it succeeded (MCP:wait_for_deploy). - If it failed, switch to the
levelrail-diagnoseskill.
Command details: apps.