DEV Community

Discussion on: Having issues with Gatsby and Netlify CMS

Collapse
 
dillionmegida profile image
Dillion Megida

Could you please explain what you mean by rebuilding my production website?

Collapse
 
alexisbenamar profile image
Alexis Benamar

I'm sorry, I didn't explained properly 😅

How did you managed to host your website on netlify ? (there are multiple ways to do so)

Thread Thread
 
dillionmegida profile image
Dillion Megida

Currently, I am using a .netlify.com domain for testing. When I get things right, I would use a customized domain.

Thread Thread
 
alexisbenamar profile image
Alexis Benamar

Ok. Is your CMS properly linked to your gatsby website ? Maybe this is what is causing the issue.
I am sorry if this doesn't help you that much, as I am quite new to using Gatsby as well.

Thread Thread
 
dillionmegida profile image
Dillion Megida

Well, the CMS is properly linked. It also makes and merges pull requests in my repository on github. When i check the targetted folder, I also see the new file.

What I guess is the file is added, but the page is not created.

Locally, when i add new files (articles .md), the page is instantly created.

I appreciate your assistance

Thread Thread
 
alexisbenamar profile image
Alexis Benamar

In that case, that may be because locally, Gatsby creates automatically the pages because it facilitates the development process. Maybe your netlify website needs a new build, as it may not have recieved the new modifications.

Thread Thread
 
dillionmegida profile image
Dillion Megida

I didn't add anything new after installing netlify cms though. Or what should I consider?

Thread Thread
 
dillionmegida profile image
Dillion Megida

I didn't make any new modifications aside installing netlify cms.

Could you please explain whay you mean by new build for netlify?