I tried pages.dev recently and I am really satisfied in how everything works, from easy integration with github and to configuring site under custom domain - really good job.
However, we use Hugo to build multilanguage site using single repository and as far as I tested every configuration option, I am unable to achieve this with pages.dev.
hugo comand outputs to
tree ./public -L 1 ./public ├── de ├── en └── fr 3 directories, 0 files
where each directly is a site with different language.
We host every directory under different domain i.e
In Pages configuration I were able to only configure one directory i.e. en on one domain domain.eu. When I tried to add separate build for the same repository to try to overcome this issue (build twice and configure separate deployments), Pages told me that repository is already in use and I cannot use this repository to set up another build.
Can you please tell how can I achieve build and deployment in our multilanguage scenario.
It would be perfect if I can have one build with one build command (
hugo) and then configure three separate deployments i.e. public/en to my-project-en.pages.dev and public/de to my-project-de.pages.dev and configure different domains for each page.