You will need to create and post a JSON request to the PT API from a post-update or a post-receive hook. It’s not too complicated - here’s an example you can base your work on.
Contrary to the general etiquette I’m not pasting the relevant parts of the quoted link, because there is nothing unique here in the way REST APIs can be accessed, and the data supplied will be specific to the submitter.