devver deploy
Create a deployment for the current commit.
devver deployDeploys your current git branch to Devver. The CLI runs a series of pre-flight checks before pushing.
Pre-flight checks
| Check | What is validated |
|---|---|
| Config file | .devver.yaml exists in the project root |
| Git repository | Current directory is inside a git repo |
.gitignore | A .gitignore file is present |
| Remote sync | Local branch is not behind the remote |
| Merge conflicts | No unresolved merge conflicts |
If any check fails, the deployment is aborted with a descriptive error.
Interactive flow
? Deploy branch main at commit a3f9c12? › Yes / NoAfter confirmation, the CLI:
- Pushes the current branch to the remote.
- Sends the deployment request to Devver with:
- Repository name, branch, and commit SHA
- Service configuration from
.devver.yaml - Environment variables
- Database links (if configured)
Database support
When your .devver.yaml references a MongoDB database, the CLI prompts you to link an existing database or create a new one:
? Select a database for this deployment
› my-mongo-db
Create new database…The connection string is automatically injected as MONGO_URL in your deployment environment.
Only MongoDB is supported for automatic database linking at this time.
Global flag
devver --api-url https://api.example.com deploy