Hello, did someone setup prefect 2 with bitbucket ...
# prefect-community
a
Hello, did someone setup prefect 2 with bitbucket as storage option? Is that even a thing?
j
Yes. Please see the prefect-bitbucket collection: https://prefecthq.github.io/prefect-bitbucket/
a
Yes, I was able to set that up and create a block but can't find any documentation around how to use it in the deployments. Can you help with some example?
j
Check out examples using a Storage Block here and here. BitBucket very similar to the GitHub storage block. Note that GitHub and BitBucket are read-only storage blocks, so you push your flow code to your repository manually - Prefect doesn’t do it for you as part of applying a deployment. Then, when you run your deployment, the code in your BitBucket repo will be used.