Aerobatic (https://www.aerobatic.com/) takes a similar, though slightly more flexible, approach with their static site deployments for Bitbucket.
You pick a branch then (optionally) specify a sub-directory of your repository to deploy.
(full disclosure: I'm at Atlassian)