#Tuto blog deployment on Netlify results in 404

52 messages ยท Page 1 of 1 (latest)

vagrant willow
#

Hi!
I'm following the tutorial but when deploying to Netlify I end up having a 404...

#

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

hard ruin
#

Hi! Could you share a link to the repository?

vagrant willow
#

Can somebody help plz ? ๐Ÿ™

hard ruin
#

I'm getting a 404 on the repository, is that link correct?

vagrant willow
#

I did nothing special on the project, except changing the h1 on the index page

vagrant willow
hard ruin
#

ah gotcha

#

no worries

vagrant willow
#

should be better now, sorry ๐Ÿ˜…

hard ruin
vagrant willow
#

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 ๐Ÿ˜•

hard ruin
#

Yeah I'm just checking here, one second

#

Normally that should be in there

vagrant willow
#

The docs asks to use the CLI to create a "minimal (empty)" project. Maybe we should select another entry instead? ๐Ÿคทโ€โ™‚๏ธ

hard ruin
#

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

vagrant willow
#

wait what?...

#

My repo deploys as-is on your netlify and you have a working page?! ๐Ÿ˜ฎ

hard ruin
vagrant willow
#

Do you have this empty step for building too?

hard ruin
#

Nope, mine's populated

vagrant willow
#

I did absolutely nothing on netlify, except changing the name (but you did it too, judging by the URL you have)

hard ruin
#

If you head to the project configuration and go to the "Build & deploy" section, what does it say for you?

vagrant willow
#

and I guess that you have more files on the "deploy file browser" than the 7 I have?

hard ruin
#

Specifically in the build settings

vagrant willow
#

empty

hard ruin
#

Ah yeah there it is

vagrant willow
#

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

hard ruin
#

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

vagrant willow
#

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 ๐Ÿคท

hard ruin
#

weird ยฏ_(ใƒ„)_/ยฏ

vagrant willow
#

I setup the bulid options as in your screenshot ๐Ÿ˜‰

hard ruin
#

Let's see if that helps

vagrant willow
#

(in progress. but I can already see a "dist" folder in the "deploy file browser")

#

๐Ÿฅณ

#

YEAH! ๐Ÿ™‚

#

Many thanks! ๐Ÿ™‡โ€โ™‚๏ธ

hard ruin
#

Anytime!