Can't update the config.yml for gatsby-plugin-netlify-cms
See original GitHub issueDescription
I am using the gatsby-plugin-netlify-cms
plugin to work with Local NetlifyCMS on my computer.
1 month ago, I completed basic setup and running NetlifyCMS. However, today my Gatsby project changed the structure as well as updated the new collection, so I updated my config.yml
file.
However, after the update is finished, I run gatsby-develop
and all my updated content is reverted to the previous version before updating. Even when I updated and pushed the config.yml
file to github, it still reverted to the old version.
I don’t know what was missing or what to do in the process of updating this file.
Steps to reproduce
- Checkout branch where
config.yml
of NetlifyCMS is being configured. - Update new config.
- Restart gatsby with
gatsby develop
. - The
config.yml
is reverted to the old version when gatsby was re-built. - Update the updated content.
- Push to the git repository.
- Clone to repository.
- Run
gatsby develop
. - The
config.yml
is reverted to the old version when gatsby was re-built.
Expected result
The config.yml
file is not changed when gatsby is restarted.
Actual result
The config.yml
file is not changed everywhen gatsby is restarted.
Environment
- OS: MacOS Catalina ver 10.15.4
- NodeJs: v12.16.3
- Gatsby CLI version: 2.12.17
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Sourcing from Netlify CMS - Gatsby
The plugin you just installed will take care of creating the Netlify CMS app and outputting it to “/admin/index.html”, so you'll want to...
Read more >Site Redesign - Moving to JAMstack using Gatsby, Netlify, and ...
As I mentioned earlier, most of the development work will fall into the Gatsby bucket, but there is some configuration work needed in...
Read more >Gatsby with Netlify CMS - Dillion's Blog
The CMS would need a configuration file to work on - config.yml . This file would be located in an static/admin/ . The...
Read more >Netlify CMS custom preview not working with gatsby
You say import { BlogPostTemplate } from '../../templates/blog-post'. but I can't see a file of that name in that folder?
Read more >Configuration Options | Netlify CMS | Open-Source Content ...
yml file, in the folder where you access the editor UI (usually in the /admin folder). Alternatively, you can specify a custom config...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yeah, you’re right. Sorry my stupid mistake. Thanks @erezrokah for you help. Close this issue
Hi @mingaldrichgan, looks like you’re editing
public/admin/config.yml
where you should be editingstatic/admin/config.yml