Search the docs
Clear
↑
↓
navigate
↵
open
esc
clear
Filter by section
All results
7
Guides
3
API
2
Changelog
2
7 results for “preview env”
Guides
Deploying
Preview
env
ironments
Every branch and pull request gets its own
preview
env
ironment with a stable URL.
Preview
s read the
preview
scope of your
env
ironment variables.
Deploying
Env
ironment variables
Set a value for the
preview
scope with rivet
env
set KEY --
env
preview
. Changes apply on the next deploy.
Deploying
Preview environments
Protect
preview
s with a password
Set
PREVIEW
_PASSWORD in the
preview
env
scope to put every
preview
behind basic auth. Production is never affected.
API
POST
REST API
Previews
Create a
preview
POST /v1/
preview
s builds a branch into a
preview
env
ironment. Pass
env
to override
preview
-scoped variables for this
preview
only.
GET
REST API
Environment
List
env
ironment variables
GET /v1/projects/{id}/
env
returns every key with its scopes. Filter with ?scope=
preview
; secret values are never returned.
Changelog
Changelog
v4.2 · Oct 7
Preview
env
ironments boot in under 3 seconds
Preview
s resume from a snapshot of the last green build. Opt out with
preview
.snapshot = false in rivetlane.toml.
Changelog
v4.1 · Sep 16
Per-
preview
env
ironment overrides
Override a
preview
env
variable for a single pull request from the dashboard or with rivet
env
set --
preview
482.