Hello,
I’m trying to find a way to configure git clone command that runs during the build on Pages, is there a way to do so?
For the context: the website I’m building on Pages is located inside the monorepo (let’s say located inside /web
folder) and this folder has no files stored in LFS, while there’s another folder inside this monorepo (let’s call it /folder-with-lfs
) that has .gitattributes
file inside which states that all the png files from this folder are uploaded to LFS. What happens now is that on every clone CF downloads the repo + all the LFS files, which count towards limited quota.
I’m trying to figure out a way to tell Pages not to download LFS files for the entire monorepo, as it’s not needed for building /web
folder, and it consumes LSF quota when doing so.
Is there a way to do it somehow?
Thank you!