introduction
Tried a few things and the best thing to do is create a separate quarto website and render the files and then transfer them to the quarto_website folder. Opening out Git desktop will then show changes to commit that need a reason. Then push.
Hopefully this ends the mystery of what to do.
But time will tell.
…
Recap: there’s some dirty github bits to set gh_pages to the branch that holds your files. I’ll link the relevant files at some point. Just rest assured, I’ve done this already.
Github pages should point to a specific folder, quarto_website, and github desktop, using the gh-pages branch, should link.
Then, create separate folders and in these create the quaro website R files. When you render the HTML will be dropped into a folder named _sites (unless specified otherwise).
Do not fetch via github desktop unless needed as this will replace your files.
Copy rendered HTML files to the linked folder. In github desktop, the changes will appear. Give a reason for the changes and commit. Then push to the repo. Wait a minute. Website will update accordingly.
If you need subfolders, just create them in the quarto_website folder using HTML rendered elsewhere.