#Tuto blog deployment on Netlify results in 404
52 messages ยท Page 1 of 1 (latest)
I must say that I understand why, because looking at the deployed files I see the same as on the GitHub repo, but nothing that looks like HTML pages
More, everything seem to go well during deployment, judging by the logs
Hi! Could you share a link to the repository?
Can somebody help plz ? ๐
Here it is: https://github.com/opack/astro-tuto-blog
And the deployed project: https://astro-tuto-blog-valdera.netlify.app
I'm getting a 404 on the repository, is that link correct?
I did nothing special on the project, except changing the h1 on the index page
oups, it's private ๐ just a sec, I'll make it public ๐
should be better now, sorry ๐
That's alright! The issue is that you need to use the Netlify Adapter to deploy to Netlify. You can follow the docs for the installation. I also recommend setting the site config option when deploying your project!
OK fine, I'll check these docs, thanks ๐ I found it odd that there was nothing in the build step on netlify, and no HTML generated.
But this points to a problem in the docs, as it cannot work as-is ๐
The docs asks to use the CLI to create a "minimal (empty)" project. Maybe we should select another entry instead? ๐คทโโ๏ธ
Wait, I'm confused myself right now
Just a second
First of all, nevermind on the adapter - since your page is static you don't need it. (I forgot about that)
Just forking the repo and checking if it works for me, two secs
Yeah I have no issues when deploying it as-is
wait what?...
My repo deploys as-is on your netlify and you have a working page?! ๐ฎ
Do you have this empty step for building too?
Nope, mine's populated
I did absolutely nothing on netlify, except changing the name (but you did it too, judging by the URL you have)
If you head to the project configuration and go to the "Build & deploy" section, what does it say for you?
and I guess that you have more files on the "deploy file browser" than the 7 I have?
Specifically in the build settings
Ah yeah there it is
I went there before to check if everything was correct and found it empty
but as the tuto did not say to touch anything, I did not
When did you create the netlify deployment, was it before you pushed the files from the tutorial to github?
Netlify tries to detect what you're using but if the repository was empty it might've caused issues
In any case, these are the options that should be in there
Maybe, I don't recall. I followed the tuto so I think it was in the order in the tuto
and I think netlify did detect astro, some way
maybe something went wrong during the creation of my netlify project ๐คท
weird ยฏ_(ใ)_/ยฏ
I setup the bulid options as in your screenshot ๐
Let's see if that helps
(in progress. but I can already see a "dist" folder in the "deploy file browser")
๐ฅณ
YEAH! ๐
Many thanks! ๐โโ๏ธ
Anytime!