prefect icon indicating copy to clipboard operation
prefect copied to clipboard

Add YAML deployment example for Bitbucket Repository block using pull_with_block

Open ehab20011 opened this issue 4 months ago • 1 comments

Overview

This PR adds a missing example to the Bitbucket integration documentation.
The existing page only included Python examples for pulling flow code from a Bitbucket repository.
This update adds a prefect.yaml example showing how to pull code using a Bitbucket Repository block via the pull_with_block deployment step.

This resolves the user confusion described in the linked issue and aligns the Bitbucket integration docs with other Prefect SCM integrations that already provide YAML examples. (Issue this closes https://github.com/PrefectHQ/prefect/issues/19418)

Checklist

  • [x] This pull request references any related issue by including "closes #19418"
  • [ ] This pull request adds new functionality, it includes unit tests that cover the changes
    (N/A — docs-only change)
  • [ ] If this pull request removes docs files, it includes redirect settings in mint.json.
    (N/A — no files removed)
  • [ ] If this pull request adds functions or classes, it includes helpful docstrings.
    (N/A — docs-only)

ehab20011 avatar Dec 01 '25 04:12 ehab20011

The pull_with_block step was added for backwards compatibility and isn't the recommended way to clone from BitBucket. @ehab20011 is there a reason that you would use this pull step over the already documented git_clone pull step?

desertaxle avatar Dec 03 '25 15:12 desertaxle

This pull request is stale because it has been open 14 days with no activity. To keep this pull request open remove stale label or comment.

github-actions[bot] avatar Dec 17 '25 16:12 github-actions[bot]