I am struggling to get my site to deploy correctly. When I run netlify deploy --prod
the files upload correctly, and are visible on the preview site, but when I open them directly I get a 404 error. This is with the above custom domain and with the Netlify subdomain samwilson.netlify.com/genealogy.html
(no link because I already have two and am a newbie here). My source files are on Github (at samwilson/website
) but I’m building the generated files locally and trying to deploy manually.
Is this because I don’t have the generated files in the repository? Is there some cache timeout that I should wait for? Should I just commit all generated files to the repo and enable automatic deployment?
Thanks for any help! And sorry if I’m missing something obvious.