This seems like it should be really simple but I am having trouble finding the documentation I need to accomplish it. What I would like to have happen is: Upon receiving a commit to Master branch, BitBucket will trigger a script on our test server which will pull the Master branch and deploy the code.
I am comfortable with writing a simple script to essentially do a git pull and file copy, but I am not sure how to trigger the script from BitBucket. Is there an easy way to do this?
Any help is appreciated.