Page Not Found (Looks like you've followed a broken link or entered a URL that doesn't exist on this site)

I tried deploying the site mentioned below multiple times. Log says that it is published but on visiting the site, it says, “page not found”.

Deployed Link
https://cmcodes-meme-gen.netlify.app/

GitHub Link:

Deploy Log:
8:21:36 PM: Build ready to start
8:21:38 PM: build-image version: 2dbd444fcdce00cf06325060a8238d5ae3e86774
8:21:38 PM: build-image tag: v3.3.7
8:21:38 PM: buildbot version: d305548225ac57bb00eb5a596b0b8674e76a4681
8:21:38 PM: Fetching cached dependencies
8:21:39 PM: Starting to download cache of 371.0KB
8:21:39 PM: Finished downloading cache in 113.975545ms
8:21:39 PM: Starting to extract cache
8:21:39 PM: Finished extracting cache in 16.275515ms
8:21:39 PM: Finished fetching cache in 130.708289ms
8:21:39 PM: Starting to prepare the repo for build
8:21:39 PM: Preparing Git Reference refs/heads/master
8:21:39 PM: No build command found, continuing to publishing
8:21:39 PM: Starting to deploy site from ‘/’
8:21:39 PM: Creating deploy tree
8:21:40 PM: Creating deploy upload records
8:21:40 PM: 0 new files to upload
8:21:40 PM: Starting post processing
8:21:40 PM: 0 new functions to upload
8:21:40 PM: Post processing done
8:21:40 PM: Site is live
8:21:41 PM: Finished processing build request in 2.421350085s

It appears that you have set the top level of you GitHub repository as the source, instead of the public sub-directory. If you visit your URL and then type in /public, you’ll see your page.

You just need to change the setting in your build process.

I tried changing the source to public directory. It says, “deploy failed”.

Deploy Log:
10:37:02 PM: Build ready to start
10:37:04 PM: build-image version: 2dbd444fcdce00cf06325060a8238d5ae3e86774
10:37:04 PM: build-image tag: v3.3.7
10:37:04 PM: buildbot version: d305548225ac57bb00eb5a596b0b8674e76a4681
10:37:05 PM: Fetching cached dependencies
10:37:05 PM: Starting to download cache of 372.2KB
10:37:05 PM: Finished downloading cache in 161.850834ms
10:37:05 PM: Starting to extract cache
10:37:05 PM: Finished extracting cache in 15.20048ms
10:37:05 PM: Finished fetching cache in 177.687953ms
10:37:05 PM: Starting to prepare the repo for build
10:37:05 PM: Preparing Git Reference refs/heads/master
10:37:05 PM: No build command found, continuing to publishing
10:37:05 PM: Failing build: Failed to build site
10:37:06 PM: failed during stage ‘building site’: Deploy directory ‘https:/github.com/cmcodes1/Meme-Gen/tree/master/public’ does not exist
10:37:06 PM: Finished processing build request in 1.318740647s

Sorry, I don’t use any of these build tools, so I don’t know the exact fix, but I can tell you that you need somehow to tell the build system to get the files from the right place and place them to the top level directory. Maybe here?