I have deleted and recreated the github repo.
I have reconnected Render to github. I have installed render to the repo. By the way, I have pointed out that your documentation for doing this is completely wrong and you have not fixed it. You must perform this step: Go to GitHub Apps - Render · GitHub and click Configure.
What you document with the two buttons is NOT what occurs. Either build this connect step into the first deployment—you claim it is BUT IT IS NOT—GOT THAT—IT IS NOT. Or just document it. It is not hard to do but without the link, it is not possible.
I have tested with vercel and the build is also broken. Their process works properly, but the build is also wrong. This is what made me suspect the github repo. But, I completely recreated it from scratch.
I don’t know what is wrong. The local repo is clean. The remote and local are in sync.
Everything worked until today. I made a lot of changes today: mostly adding content. Some changes to layouts (html templates). But, these all work perfectly when hugo is run locally.
Since you (and all of your competitors) don’t let us see what you built, we can’t debug what you did. All I can think is I will build locally to a directory and you can diff the outputs and see what is different. I can tell that 2 files are not being generated. Which 2 files? No way to tell.
This all worked a lot better when I self hosted it. It’s really not that hard. Perhaps time to give up on this flaky Jamstack stuff and do things that are in MY CONTROL.