This sounds like a recipe for breaking your servers without knowing about it. Plus, I hate VCS deployment strategies; I used to do them too but I've become wiser since.
I can see this being useful for a basic sort of "dependency resolution" on a larger project that requires deps sitting in github repos (the recent habit of treating github as a "global package repository").
While the pattern of using github to resolve dependencies isn't bad; I still feel like using it for your deployment strategy is naive. Resolve the deps locally first, package/containerize it, then push it to the servers.
I can see this being useful for a basic sort of "dependency resolution" on a larger project that requires deps sitting in github repos (the recent habit of treating github as a "global package repository").
While the pattern of using github to resolve dependencies isn't bad; I still feel like using it for your deployment strategy is naive. Resolve the deps locally first, package/containerize it, then push it to the servers.