caddi deploy
Push the current branch. Trigger a Vercel build. Wait for the deploy URL. Return it. That’s the whole command.
Usage
Example
Flags
--no-wait— push and return immediately. Prints the build URL.--message <text>— extra context attached to the audit log entry.--force— allow pushing tomainorstagingdirectly. Skips the “usecaddi promote” warning.
By default, deploying from
main or staging is blocked — use caddi promote instead. --force is for hotfixes only and logs a loud audit entry.What happens under the hood
- Caddi runs
git push origin <current-branch>. - Vercel receives the push webhook and starts a build (Caddi doesn’t trigger the build directly — your repo settings drive that).
- The CLI polls Vercel until the deploy is
READYor fails. - On failure, the CLI prints the build log URL and exits non-zero. Useful in CI scripts.