I have a requirement that once I push a csv file to remote branch, it should call an npm script to process the data from CSV file.
Please advice which would be the best way to do this.
I have a requirement that once I push a csv file to remote branch, it should call an npm script to process the data from CSV file.
Please advice which would be the best way to do this.
Git does not have a post-push hook. There is a pre-receive hook that you can set up in the git server if you are using your own git server. You can read up on it here Git hooks