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:
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.