I followed your excellent tutorial and successfully published my react app back in May 2020.
I recently updated the app and hit 'yarn deploy', but the site would only show the README.
After unsuccessful attempts to fix, I eventually asked GitHub. They replied within 30 mins (excellent!) with the following fix which I thought I'd share.
Thanks for the tutorial, fix below.
"We recently rolled out a change that allows you to select any branch to publish Pages from. Unfortunately, we have identified a bug with this change that affects user site repositories whose default branch was not master. In cases like this, the publishing source for Pages gets set as the default branch instead of master, which is what has happened to you.
You will need to set the publishing source back to the master branch by following the steps here
Once you do that, it shouldn't change again."
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I followed your excellent tutorial and successfully published my react app back in May 2020.
I recently updated the app and hit 'yarn deploy', but the site would only show the README.
After unsuccessful attempts to fix, I eventually asked GitHub. They replied within 30 mins (excellent!) with the following fix which I thought I'd share.
Thanks for the tutorial, fix below.
"We recently rolled out a change that allows you to select any branch to publish Pages from. Unfortunately, we have identified a bug with this change that affects user site repositories whose default branch was not master. In cases like this, the publishing source for Pages gets set as the default branch instead of master, which is what has happened to you.
You will need to set the publishing source back to the master branch by following the steps here
Once you do that, it shouldn't change again."