cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello @JamesKemp,

You should be able to setup a bash script or command that sends an update email and set it up as a deployment task. We document how to setup automatic deployment tasks at:

Guide to Git - Deployment - cPanel Knowledge Base - cPanel Documentation

If you are comfortable with a more advanced setup, consider making use of the sample script for the post-receive-email hook found at:

/usr/share/git-core/contrib/hooks/post-receive-email

Additionally, I recommend opening a feature request if you'd like to see an option for this added to the Git Version Control feature in cPanel.

Thank you.