On

By default, Reploy runs on every pull request, however in some cases you may want to generate environments on every branch. Using the on directive, you can specify branches where Reploy should build environments (not attached to Pull Requests).

On Structure

The format for this directive is as follows.

on:
branches:
- foo-branch
- bar-branch
pull-requests: true

For both branches and pull requests, there is a deterministic format for your environment IP. Reploy also injects specific environment variables into each environment for service discovery. To learn more about this, see the links page.

Fields

Field

Description

Default Value

branches

A list of branches that reploy should run on.

None

pull-requests

Describes the runtime that the service depends on (essentially a container). A list of these runtimes are provided during onboarding. If the image field is specified, the runtime field shouldn't be.

true