I currently host my site on Bitbucket and it is locked to only whitelisted IP addresses. When i try to deploy from Netlify, the build fails as Netlify IP is not whitelisted in my Bitbucket account. I get the following messages:
4:37:02 PM: Starting to prepare the repo for build
4:37:07 PM: git ref refs/heads/master does not exist or you do not have permission
4:37:07 PM: Failing build: Failed to prepare repo
4:37:07 PM: failed during stage ‘preparing repo’: git ref refs/heads/master does not exist
The deploy works fine if disable IP whitelisting in my Bitbucket account. So, i am wondering what IP addresses i should whitelist in Bitbucket for deploys to work in Netlify. Any help would be much appreciated. Thanks!