Hi @tobiasdiez, thanks for the extra feedback.
The main issue you’re facing is that Netlify’s build process attempts to fetch all submodules, including those that are private and not necessary for your website build. This can cause problems during the build process.
Kindly try out the suggestions below to see if it works.
- You can configure Netlify to ignore certain directories or files during the build process. This can be done using the ignore builds feature.
- If your website is in a specific subdirectory of your monorepo, you can configure Netlify to only build from that directory. Check the documentation at Build configuration overview
- Manually configure submodules by following the steps provided in the Support Guide: How do I access private repositories in the build environment?
If none of the above steps worked consider restructuring your repository to separate the website part from the rest of the monorepo if possible. This could simplify your Netlify deployment process.
Any changes to your repository structure or build configuration might require updates to your build settings in Netlify. You can adjust these in your site’s dashboard under Site configuration > Build & deploy > Continuous deployment > Build settings .
Kindly write back and let us know which of the methods worked for you.
Thanks.