What i am curious about is that i get the branch not found error.
i set my repository to private but i reauthenticated the oauth installed the github app and regenerated the git gateway token.
now i wonder about the line in the config.yml
branch: main # Branch to update (optional; defaults to master)
since i used the quick deploy my branch is “master” and i dont have any other branches.
I’m assuming you’re talking about deploying from the frameworks page on jamstack.org using the deploy to Netlify button on the Hugo card. I just did the same myself and, as you pointed out, that template uses a default branch of master.
I think you’re on the right track! Try swapping out main for master there in the config.yml and see if you have better luck with your deployment.