Git Submodule Work-Tree Hook on Push to Compile Sass

Working on a WordPress Theme, but inside of another repo. Best option I thought of was using a submodule. I also need that theme to pull WordPress Customizer Color Values, but the theme is using Sass, so there has to be some type of Sass compiler on the server. So using Git’s work-tree set-up, I can push and then hook a Sass compiler after Git push to render out the new CSS using the dynamic values from the WordPress Customizer database table values in the Sass file.