pantheon-systems / circleci-orb

Use CircleCI to push code to Pantheon Dev and Multidev Environments
10 stars 18 forks source link

Figure out handling of sites without a live environment #11

Closed stevector closed 5 years ago

stevector commented 5 years ago

terminus -n build:env:create "$TERMINUS_SITE.live" "$TERMINUS_ENV" --yes --clone-content assumes a live env exists. That is not true for all sites.

I see a few options for resolving this issue. There may be others.

  1. Make source env an optional param on the job
  2. Make the existence of the Live env required
stevector commented 5 years ago

I think requiring the Live env is acceptable. The readme already has that as step 0.