The UI has changed a bit since that video was made. There should be a "Pages" entry in the menu on the left of the repository settings page, click that.

Try to push an empty commit and refresh the page. It should work.
git commit --allow-empty -m "Trigger rebuild"
git push
I'm not sure if the site just needed some time to show up, but I was getting a 404 error after pushing my master branch... Then I changed my 'theme' in the repo's settings. All of a sudden it started working! A file called config.yml appeared with the theme metadata.
ruby - There is no Github pages section in repository settings - Stack Overflow
GitHub Pages option missing in settings
Github Pages site disappeared, can't figure out why
GitHub pages do not appear - Web Applications Stack Exchange
Videos
On your repository, there is settings link. Open it.

Scroll down a bit, there is GitHub Pages settings.

Try to select different source from "Select source" dropdown/combobox and save. Then change it again into gh-pages branch and don't forget to save.
This fix my head-banging-404-waiting-nothing-happening-after-hours-refreshing
GitHub Pages often take a few minutes to show up, especially on the first creation of the gh-pages branch. From the default 404 page:
There isn't a GitHub Page hosted here, sorry.
Are you trying to publish one?
We'll send you an email when your page has been built. It may take up to ten minutes until your page is available.
(emphasis added)
**UPDATE/FIX** I created a new account and did a user page (instead of project page) and got a build error email on that one, so that was progress. It also means it's likely the builds weren't kicking off for my other account. I made some changes in a branch, committed/pushed, then merged that branch into main. This kicked off something in the actions tab which had always been blank before. The build succeeded and the cananasmith project is now live on Pages. So, I went to my other project to see if the branch merge is necessary and now when I update the html file and commit it straight to main, it also kicked off a build. As of now, I can only conclude that yesterday my account was flagged as a bot and actions were blocked. I have asked support to confirm this, if possible. Thank you all for your assistance.
All I see is the 404 page. I have deleted and remade a couple repos and I'm just trying to do basic HTML from a project for now.
Steps I took:
-
create a new account
-
create a new repo
-
push index.html (boilerplate from Emmett in VS Code)
-
change it to public
-
go to Pages in Settings and set it to deploy from branch 'main'
-
check
-
change index.html a few characters and commit
-
check
Next, delete the repo and start again using the GitHub tutorial which makes an index.html from the UI and only has an <h1>Hello</h1> in the index.html. Still nothing.
I'm working from https://github.com/kevins2024/cananasmith and trying to access the page using http://kevins2024.github.io/cananasmith and always see 404 (tried with a second project as well with same result). What have I missed? It feels like it just isn't deploying but everything says deployment of basic HTML sites is automatic as long as you have index.html.
Screenshot (removed, but it showed that the repo and user were spelled correctly and public)
So i created a respository several weeks ago with an index.html file and it worked great
I modified it a couple of times and still worked normally
But then suddenly i login and i cannot find the link in the settings>pages tab anymore
I tried changing the directory, recreating new repositories. I even created a new account in a different web browser but the link is not showing...
Any input or ideas?


