Join Slack
Powered by
Morning! We'd like to conditionally build some con...
# seed
d
Dennis Dang
05/26/2021, 1:20 PM
Morning! We'd like to conditionally build some constructs differently for PR envs on Seed. How do we detect when CI is running in a PR env, as opposed to one of the explicit stages we've defined?
f
Frank
05/26/2021, 4:59 PM
You can check the
SEED_PULL_REQUEST_NUMBER
environment variable
Frank
05/26/2021, 5:00 PM
https://seed.run/docs/adding-a-build-spec#build-environment-variables
Open in Slack
Previous
Next