ev promote

Usage

ev promote <source> <target> [flags]

Description

ev promote copies the latest release of the source environment into the target environment, creating a new release. It is the recommended way to move secrets through your promotion pipeline (dev → staging → prod).

Before promoting, you can preview what will change with ev diff:

ev diff staging prod

Then promote:

ev promote staging prod

Promote does not modify the source environment.

Flags

FlagShortDescription
--message-mMessage attached to the new release in the target environment

Examples

Promote dev secrets to staging:

ev promote dev staging

Promote staging to prod with a message:

ev promote staging prod -m "release 2024-01-15"

Promote a specific app from staging to prod:

ev promote backend:staging backend:prod -m "backend release"

On this page