Devver Docs

devver deploy

Create a deployment for the current commit.

devver deploy

Deploys your current git branch to Devver. The CLI runs a series of pre-flight checks before pushing.

Pre-flight checks

CheckWhat is validated
Config file.devver.yaml exists in the project root
Git repositoryCurrent directory is inside a git repo
.gitignoreA .gitignore file is present
Remote syncLocal branch is not behind the remote
Merge conflictsNo unresolved merge conflicts

If any check fails, the deployment is aborted with a descriptive error.

Interactive flow

? Deploy branch main at commit a3f9c12? › Yes / No

After confirmation, the CLI:

  1. Pushes the current branch to the remote.
  2. 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

On this page