decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.84k stars 3.04k forks source link

Netlify's function is reading project folder without permission #6560

Closed 1alexvash closed 1 year ago

1alexvash commented 2 years ago

In my app I have a search feature which goes to the content folder, grabs markdown posts, and displays them

image

The repository

The Netlify Search Function

How does it able to do so, outside build folder on staging?

I was getting errors here, and there, then I suddenly realized to access this folder on staging, I have to create the following Netlify file, so on staging Netlify has access to the content folder, but currently if you check my repository it does not have this file, and works magically without it, can somebody explain to me what is going on? image

martinjagodic commented 1 year ago

Hi @1alexvash, this repo is intended for Decap CMS related issues.

For Netlify build related issues I suggest to reach out in the forums: https://answers.netlify.com/

Closing the issue, and please comment if you have any other questions.