GDPR-compliant European static site hosting - statichost.eu is a static hosting website that is an alternative to cloudflare and github pages.
It works by pulling your git repositories hosted elsewhere (github, gitlab, codeberg etc.,) and using a docker container to execute build scripts. it supports quite a few javascript based JAM stacks, and also hugo (golang), and zola (rust). It should be possible to create your own docker container and use it to build a site.
As an experiment, I put up AI Engineer website using hugo, with a private repo on github. In order to pull from a private repo, you can add an SSH public key provided by statichost as a Github Access Key. In order to trigger a build you can use the Webhook from github.