Swapping Github origin for a Website Already Deployed

UPDATE: I got this issue fixed, but for some reason it is not showing a splash screen located in the app.svelte.

Hello all. I just finished a complete rebuild of a website in a framework. My current site is pure html / css / js. I want to swap the current github repo for my domain www.example.com with the files from a new github repo I made.

I want to host these new files on a domain I already have hosting on netlify, thus, doing “new repo from git” wouldn’t work because I already have a github repo linked to that domain.

TLDR: I want to swap the github repo origin on www.example.com from githubRepo1 to githubRepo2, without having to do a new “new site from git”, and without deleting my current site.

Thanks in advance.

Okay So i found the setting to do this, however now my site is giving me the following error…

"

Page Not Found

Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.
"

I have seen this issue before where the site couldn’t find the index.html

The new Deploy is using svelte, so I am sure it has to do with the file structure of svelte. I would be thankful if someone could help.

Update: After checking common mistakes, I cant figure it out.

I have the index.html living inside the src folder. Is this an issue?

Congrats on the progress!

This article is the one you’d need to debug the page not found situation: