NetlifyCMS admin not seeing new content types for deploy preview

I’m working on a redesign of a site at https://flightfree.co.uk. I’ve created a new branch and set up a pull request which is being deployed to https://deploy-preview-93--inspiring-golick-7b7a75.netlify.app/

This version has a new content type “how_tos” as described in config.yml like this:
collections:

  • name: how_to
    label: How tos
    folder: source/how_tos/
    extension: .html.markdown
    format: frontmatter
    create: true
    slug: ‘{{slug}}’
    fields:
    • {label: Published, name: published, widget: boolean, default: true}
    • {label: Title, name: title, widget: string}
    • {label: Publish Date, name: date, widget: datetime}
    • {label: Cover image, name: cover_image, widget: image}
    • {label: Summary, name: summary, widget: text}
    • {label: Author, name: author, widget: relation, collection: authors, valueField: name, searchFields: [name]}
    • {label: Read time, name: read_time_minute, widget: number}
    • {label: Body, name: body, widget: markdown}

In the NetlifyCMS admin for this site at:
https://deploy-preview-93--inspiring-golick-7b7a75.netlify.app/admin/#/
… the “How tos” section is listed but is empty, even though there are many .html.markdown files in the “source/how_tos” folder.

Running the admin locally (using npx netlify-cms-proxy-server) and they’re all there.

Is this a problem with deploy previews? Or a problem with my configuration?

Thanks in advance.

Hi there! Thanks for your interest in Netlify CMS. Looks like you posted your question a little while ago, but that you haven’t received a solution yet. Here’s where you might get more help:

netlifycms.org - the site houses our extensive documentation that likely contains helpful information to get you back on track.

netlify cms slack - join our friendly slack channel and chat with other cms pros to get the help you need.

GitHub Issues - think you’ve found a bug, or would like to make a feature request? Make your voice heard here. Netlify CMS is open source - PRs and other contributions are also welcome!

Stack Overflow Check StackOverflow for questions tagged “Netlify CMS” if you don’t get an answer in the Slack or the GH issues. StackOverflow reaches a worldwide audience of knowledgeable people.

Your question will be left open here for anyone to comment - but we encourage you to check out the above resources if you are still looking for a solution!