Partial cloning and sparse checkout?

We are using a monorepo with several applications inside the same git repository.

In a blueprint, is it possible to customize the cloning step? I would like to use a combination of shallow clones and sparse checkout such as described here:

(the sparse checkout is in the video)

Thank you,

Jerome Tremblay

Hey Jérôme,

We already shallow clone your repo but we don’t support customizing the cloning step at this time.

Regards.
Jérémy, Render Support

Thank you

I found a workaround for this. I use a staging and a deployment branch on Github.

When I push something on staging, it triggers an action that delete everything except related files in the staging branch, commit it back to the staging branch, then automatically create a pull request from staging to deployment.

Since you are already using shallow clone, I end up with only the required files being downloaded and deployed.

Thank you again

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.