I was previously working on my newest GitHub Pages website. My website is a React app. I finally got the website to run about a month ago, but I got stuck on this issue of my website not automatically re-rendering when I push changes to GitHub. The only way I can get my website to re-render is to publish it, but I am pretty much certain that I am not supposed to publish frequently.
I think the issue is that I am not actually updating the gh-pages
branch of my repository, and I'm not sure if I'm supposed to be. Should I be? If the answer is yes, then how would I go about doing this? I'm not really sure how to push that branch either.
I posted about this already, but it's been a long time, and no one has responded, so I added some more information on what I think the issue might be here.
"deploy": "./node_modules/gh-pages/bin/gh-pages-clean.js && gh-pages -d build"
– Stretto