Deploy CI - Page Not Found

I have a manual deploy, It’s executed to Gitlab CI and works without problems, but the site link appears: “Page Not Found (Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site)”, and the link published deploy https://5eadcd1ce0d61418413ed635– works perfectly!

I have netlify.toml file in the project:

publish = “build”

from = “/*”
to = “/index.html”
status = 200

What is the problem is going on?

Hi @jilvan.silva, typically, when you see that error, you either don’t have an index.html file or don’t have the redirect you mentioned. I do see that you have both. Are you able to point out which exact deploy still showing the Page Not Found error?

My deploy don’t have or appear error how can you see in my screenshot below:

My curiosity is: Why this deploy link works https://5eadcd1ce0d61418413ed635– and the link app NOT works

my gitlab-ci.yml
stage: deploy
- yarn global add netlify-cli
- netlify deploy --site $NETLIFY_SITE_ID --auth $NETLIFY_AUTH_TOKEN --prod --dir build
- build
- master

Hmmmm I can load your site successfully. I’ve tested in several browsers. Are there any console log errors when you try to view ?

Hi Laura, I don’t know what happened, but now the site is working!

Thank you

1 Like