watson / ci-info

Get details about the current Continuous Integration environment
MIT License
321 stars 50 forks source link

Fix Netlify detection #47

Closed ehmicky closed 4 years ago

ehmicky commented 4 years ago

Currently ci-info detects Netlify using the NETLIFY_BUILD_BASE environment variable. While this will work, that environment variable is undocumented. This PR changes it to the documented NETLIFY=true environment variable instead.

Tests are updated too.

sibiraj-s commented 4 years ago

Thanks @ehmicky .