babel / website

:globe_with_meridians: The Babel documentation website
https://babeljs.io/docs/en/index.html
MIT License
749 stars 1.31k forks source link

support OC_API_TOKEN #2777

Closed JLHwung closed 1 year ago

JLHwung commented 1 year ago

Recently our netlify builds are failing because we introduced the babel-next build, which eventually hit the OC free API rate limit: 10 / min. (ref)

In this PR we will add a personal token when the environment variable OC_API_TOKEN is available. When a token is provided, the rate limit is 100 / min, it should be enough for the netlify jobs.

netlify[bot] commented 1 year ago

Deploy Preview for babel-next ready!

Name Link
Latest commit
Latest deploy log https://app.netlify.com/sites/babel-next/deploys/64542d7e2e88551afa6cbc8b
Deploy Preview https://deploy-preview-2777--babel-next.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] commented 1 year ago

Deploy Preview for babel ready!

Name Link
Latest commit 659de1d90a71301a1789f44df4f2f938ecbaeb83
Latest deploy log https://app.netlify.com/sites/babel/deploys/64542cf5e0ba6f0008de9c7a
Deploy Preview https://deploy-preview-2777--babel.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.