I am using the free plan of github. After hearing the unlimited private repositories for free plans news, I thought I could make my personal website repo private. So I made the repo private. But then I noticed, github pages to work under private repo, you have to subscribe to github pro plans. So I revert back to public. But now my site isn't working. How can I re-enable my site?
update: My site is working because as I didn't get any solution, I have deleted my old repository and recreated it. Still I am waiting for a good solution.
Solved! Solved! Go to Solution.
Unfortunately, we can't make a guess as to what might have gotten wedged that was preventing this from working. If anyone else runs into this, please reach out to GitHub Support at https://github.com/contact or firstname.lastname@example.org so they can take a deeper look at what the issue might be.
Any thoughts on how I can remedy this situation? I already sent an email to support.
I turned the repo to private, realized the page went 404. Made the repo public again and the 404 remains.
It looks like the UI settings where GitHub pages (page) use to be has changed considerably. I don't see any option to republish the page and the option to redirect my custom domain url.
This happened to me as well - I've also emailed support in hopes of a solution.
This problem seems to resolve itself if you push any commit to your pages branch.
What about master branch? I tried to make my repo public and did a push to master branch (only branch I have)
Thanks Bro. It also worked for me after pushing to the main branch. :)
Plus one. Were you able to fix this issue? My page is down. I did the exact same thing as you. Also, I don't see an option to republish and add a redirect under settings no more.