ev push

Usage

ev push [app:env] [flags]

Description

ev push reads your local .env file, encrypts all values with the project key, and pushes the ciphertext to the ev server. Every push creates a new release snapshot — you can roll back to any previous state with ev rollback.

Before pushing, ev shows a diff of what will change and asks for confirmation. Keys being added are shown in green, removed keys in red, and changed values are indicated without revealing the old or new plaintext.

~ DATABASE_URL  (changed)
+ NEW_SECRET    (added)
- OLD_SECRET    (removed)

Push 3 changes to backend:staging? [y/N]

Pass -y to skip the confirmation prompt in CI pipelines.

Flags

FlagShortDescription
--pruneRemove keys from remote that are not present in local .env
--message-mMessage attached to the release (like a commit message)
--yes-ySkip confirmation prompt

Examples

Push using defaults from ev.yaml:

ev push

Push to a specific environment:

ev push staging

Push a specific app and environment with a release message:

ev push backend:prod -m "add STRIPE_KEY for payment integration"

Push and prune remote keys not present locally, skipping confirmation:

ev push --prune -y

On this page