Configure middleman to build based on assets from another repo

I am looking to configure a middleman project that builds out based on assets in a different repo. Basically, I have a library of image assets in another repo that I want to pull in and then run an each loop on top of.

There are a series of external repos, each own library of images so ideally they would remain external and be able to be pulled in from a single middleman app.

Any help would be very appreciated.

You could include them as git submodules, though submodules can be difficult at times.

You could also have a list of repos in a yml file. Using the after build callback download said repos and do whatever you need to on them.

Looks good. I’ve got my urls in a yml file but I don’t know how to get middleman to pull down the repos.