My github repo has a submodule in it but when I push changes to it, it doesn’t trigger the site to auto rebuild.
I’ve looked through a ton of your documentation but nothing is giving a clear explanation of how to automate builds that include submodules.
Can anyone help me get steered in the right direction? Thanks in advance!
This is expected behaviour. Netlify adds deploy keys to your repo to detect when you push to it. It can’t do this for your submodules.
The workaround would be to use GH actions to trigger a push to your original repo once you push to your submodule.
You can trigger a redeploy by following these instructions:
(though that alone will not also pull in submodule changes)