What we did in one of our projects is to have (i believe) jenkins do a check every x time if a new commit was there, and then trigger a deploy.
Would that work for you?
There is some documentation on how to implement a CI/CD pipeline for Mendix that may be of help.
https://docs.mendix.com/howto/integration/implement-cicd-pipeline/