In order to automatically trigger builds on each push for your Bitbucket repository, we need to add our Distiller service hook to your repo. If you added a repository that you have admin access to, you can do this yourself. If you added a repository that you do not have admin access to, an admin will have to add it for you.
To add the Distiller service hook to your Bitbucket repository:
bitbucket.org/org_name/repo_name/admin
Click Hooks in the left navigation.
Click the “Select a Hook” dropdown and select POST from the dropdown list and click the "Add Hook" button.
In the POST hook modal, enter the Distiller URL: https://distiller.io/hooks/bitbucket
Save by clicking "Save" You're done. Now your repository will automatically build when you push.