I have a two year old Gatsby site running on Netlify.
It uses the Netlify CMS.
The repo for this was on GitLab.
Recently I updated to Gatsby4 and updated the packages used to the current versions.
I did this in a new repo on Github and switched the site to use the new repo.
I changed the Git Gateway Service on the Identity page to point at the new repo.
The site builds and deploys, but when I try to access the Netlify CMS using /admin/ I get the following error:
Error loading the CMS configuration
Config Errors:
Error: Failed to load config.yml (404)
Check your config.yml file.
The location of the file has not changed:
/static/admin/config.yml
The only change I’ve made to the config.yml is to the branch since GitLab uses master as the primary branch and Github is using main.
from:
backend:
name: git-gateway
branch: master
to:
backend:
name: git-gateway
branch: main
How can I research this issue?