siddharthkp / ci-env

Environment variables exposed by CI tools
MIT License
40 stars 17 forks source link

Set event to `pull_request` on CircleCI pull requests #23

Closed francocorreasosa closed 5 years ago

francocorreasosa commented 5 years ago

Hey @siddharthkp 👋

We're in the process of migrating to CircleCI and found out that we cannot know when the build is coming from a PR to deploy our site to Now using now-cd.

Traced out the issue to here and this seems to be a proper fix.

Thank you 😄

PS: we'll need a new release of now-cd after merging this