zregvart opened a new pull request #577: URL: https://github.com/apache/camel-website/pull/577
Implements and configures a proxy used add `Authorization` header to invocations of GitHub REST API. As we're sometimes failing the build due to GitHub API rate limits, and since in Hugo we can't pass HTTP headers to include the `Authorization` header which would allow us a higher API invocation limit. An alternative to use a proxy through which all invocations of the GitHub API will go through and have the `Authorization` header added. To use the proxy three environment variables must be set at the same time: - `HUGO_PARAMS_GitHubAPI=http://localhost:22635` - `GITHUB_USR=<GitHub username>` - `GITHUB_PSW=<GitHub token>` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org