Site shows Page Not Found everytime I do a github update

Hello. My site https://664cbe1d74c57800894ab682--stunning-longma-a00c3f.netlify.app/ always shows Page Not Found after I make an update to the github repo and push.

Below are the logs for the latest deploy I did -

# Initializing
11:30:48 AM: build-image version: 3d3c7e8b4321e2c1a54a2c4584fb46ba742b1630 (focal)
11:30:48 AM: buildbot version: 588d3e99baf403f31620480ed78c765f2e21ff1d
11:30:48 AM: Building without cache
11:30:48 AM: Starting to prepare the repo for build
11:30:48 AM: No cached dependencies found. Cloning fresh repo
11:30:48 AM: git clone --filter=blob:none https://github.com/LucasO21/lucaso21.github.io
11:30:49 AM: Preparing Git Reference refs/heads/master
11:30:52 AM: Starting to install dependencies
11:30:52 AM: Python version set to 3.8
11:30:52 AM: Attempting Ruby version 2.7.2, read from environment
11:30:53 AM: Using Ruby version 2.7.2
11:30:54 AM: Started restoring cached go cache
11:30:54 AM: Finished restoring cached go cache
11:30:56 AM: go version go1.19.13 linux/amd64
11:30:56 AM: Using PHP version 8.0
11:30:58 AM: Downloading and installing node v18.20.3...
11:30:58 AM: Downloading https://nodejs.org/dist/v18.20.3/node-v18.20.3-linux-x64.tar.xz...
11:30:58 AM: Computing checksum with sha256sum
11:30:59 AM: Checksums matched!
11:31:01 AM: Now using node v18.20.3 (npm v10.7.0)
11:31:01 AM: Enabling Node.js Corepack
11:31:01 AM: Started restoring cached build plugins
11:31:01 AM: Finished restoring cached build plugins
11:31:01 AM: Successfully installed dependencies
11:31:01 AM: No build steps found, continuing to publishing

# Building
11:31:02 AM: Section completed: building
11:31:02 AM: Finished processing build request in 14.78s

# Deploying
11:31:01 AM: Starting to deploy site from ''
11:31:01 AM: Calculating files to upload
11:31:02 AM: 0 new files to upload
11:31:02 AM: 0 new functions to upload
11:31:02 AM: Section completed: deploying

# Cleanup
11:31:02 AM: Uploading Cache of size 61.3MB
11:31:02 AM: Section completed: cleanup

# Post-processing
11:31:02 AM: Site is live ✨
11:31:02 AM: Starting post processing
11:31:02 AM: Post processing - Forms
11:31:02 AM: Post processing - header rules
11:31:02 AM: Post processing - redirect rules
11:31:02 AM: Post processing done
11:31:02 AM: Section completed: postprocessing


I have reviewed this popular post but I am not able to figure out what changes to make for my site based on it. I see it mentions something about the location of the index.html. In my github repo, the index.html is located inside the _site folder.

What would be the right Build settings on Netlify? Please let me know any additional details to provide to help debug. Thanks!

As stated in the line above from the log you have shared, you are deploying the repository directory.

You have indicated the built site you wish to deploy is in the _site directory. You can the see the site via https://stunning-longma-a00c3f.netlify.app/_site/

Deploying the _site directory will fix your issue.

@dig’s Response is the correct answer.

The response by @Markjons is the usual ChatGPT word salad drivel.
It talks about hosting on GitHub Pages and makes wild assumptions about using Jekyll, it’s a flagrant waste of everyone’s time.

Thanks all. Was able to do what may be a temporary fix by just deleting the site and then re-adding it again. The real test will come when I have to make an update.