We have the unity build cloud integrated in our GitLab pipeline, which downloads the artifacts from the build cloud and deploys the WebGL output. But we want custom html, css and .js files.
As of now our pipeline is replacing these files after the build cloud, but that also mean that we loose the ability to use preprocessor variables on the build cloud.
The Unity team has earlier argued against a custom template, because it can break the cloud based download page. It seems like a hardcoded feature in the share build dialog is depending on something dynamic. This is an anti-pattern. To resolve that you could just run a shadow artifact for that pretty narrow use-case of sharing a build, on the default template. That will enable cloud build users to be able to specify a custom webgl template in the build configuration.
We really need the ability to configure cloud builds with a custom webgl template.