You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Tadayoshi Sato <sa...@gmail.com> on 2021/07/01 01:51:37 UTC

Re: [headsup] Setting GitHub username/token to build the website is required

That's awesome. Thanks Zoran!

On Wed, Jun 30, 2021 at 4:30 PM Zoran Regvart <zo...@regvart.com> wrote:

> Hi Cameleers,
> I'm making a change in what's required to build the website, you now
> need to set `HUGO_PARAMS_GitHubUsername` and
> `HUGO_PARAMS_GitHubToken`[1] environment variables in order to build
> the website.
>
> That change upgrades Hugo to 0.84 which includes the ability to set
> HTTP headers when fetching remote data. The change makes it mandatory
> to set those headers as otherwise the default request limit with
> unauthenticated access to GitHub API will not be enough to build the
> website successfully.
>
> So if you're building/previewing the website locally please make sure
> those environment variables are set.
>
> zoran
>
> [1]
> https://github.com/apache/camel-website/blob/pr/upgrade-hugo-remove-proxy/README.md#build-the-website-and-antora-theme
> --
> Zoran Regvart
>


-- 
Tadayoshi Sato