After changing branch in config.yml Netlify-cms still commits to the old branch
See original GitHub issueMy config.yml originally looked like this
backend:
name: github
# name: git-gateway
repo: <REPO_NAME>
branch: copy-changes
#identity_url: https://dustinbold.netlify.com/.netlify/identity
#gateway_url: https://dustinbold.netlify.com/.netlify/git
media_folder: static/cms/uploads
#media_folder_relative: true
public_folder: /cms/uploads
It now looks like this -
backend:
name: github
# name: git-gateway
repo: XelpmocDesignandTechPvtLtd/agebold-web
branch: staging
#identity_url: https://dustinbold.netlify.com/.netlify/identity
#gateway_url: https://dustinbold.netlify.com/.netlify/git
media_folder: static/cms/uploads
#media_folder_relative: true
public_folder: /cms/uploads
However when I go the CMS, it still commits to the old branch rather than the new branch. I then sshed into my container and went to my build folder and checked the config.yml there…but the config.yml there has the new branch as well.
I’m not sure what’s going on.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Configuration Options | Netlify CMS | Open-Source Content ...
All configuration options for Netlify CMS are specified in a config.yml file, ... Save draft, Commits to a new branch (named according to...
Read more >Netlify CMS Rebuild Config.yml Changes - Stack Overflow
The following config will be looking for changes on GitHub in the master branch of netlify/netlifycms-example repository. admin/config.yml
Read more >Not showing collections - Netlify CMS
When making changes on our dev branch, the CMS doesn't reflect what's on our master/production branch - we get an error (below).
Read more >Netlify CMS - My Docs - GitBook
You can enable the Editorial Workflow with the following line in your Netlify CMS config.yml file: publish_mode: editorial_workflow.
Read more >How to Build a Blog with Gatsby and Netlify CMS
Add all the code snippets in this section to your admin/config.yml file. We'll begin by adding the following codes: backend: name: git ...
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 Free
Top 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
Whatever address you’re using to access the CMS, open the config file from there in your browser. Eg., example.com/admin/config.yml
Sent with GitHawk
Thanks for the update, closing 😃