Open ravicodelabs opened 1 year ago
I have updated our deploy method to not use netlify-plugin-quarto
for the time being to avoid the Netlify deploy failures we were getting. Just adding this note here in case anyone checks out the repo link in my last post.
Can it be released? @jjallaire maybe (as last committer in the repo)
I'm not sure how to release the plugin -- @cscheid ?
@jjallaire it should be just a matter of updating versions and npm publish
, but I can do that.
Thanks all! Just to clarify, will generating my own token and adding that as a Netlify env var GITHUB_TOKEN
be sufficient here, e.g. so that I don't need a token with special permissions for the quarto-cli
repo?
@ravicube No. The reason why you need a token is to increase the API request rate limit which is quite low for unauthenticated requests. But you don't need access to the quarto-cli repo.
I'd recommend however limiting the scopes of the token to a minumum.
Describe the bug
I am getting the following error intermittently (sometimes with a different IP address) when trying to deploy from Netlify using
netlify-plugin-quarto
:The full deploy log is here and the website source code being deployed is here. More examples of failed deploy previews can be seen here.
It looks to me like at any given time, some subset of Netlify's build/deploy servers are rate limited from GitHub API requests (e.g. via github.js), leading to a build failure and the above error.
Any thoughts on the above or what's happening here? Any ideas for setting things up to avoid this rate limit issue?
Steps to reproduce
netlify.toml
andpackage.json
as we have done here to the repo.GITHUB_TOKEN
. (If it succeeds, you may have to try a few more times.)