Step 4 – Hook Setup – Bitbucket
The flow on Bitbucket is identical to GitHub:
- Access your repository;
- Go to Settings
- Select Webhooks
- Add Webhooks
- Insert your the url for your deploy.php file in your destination server. The name doesn’t matter.
Now Bitbucket knows where to send you the code when you Commit / Push.