It would be great to be able to do “branch deploys” and “deploy previews” from the CLI or API. For example I want to use Gitlab CI to build and test my site for flexibility however due to the lack of fixed deploy URL I can’t use Netlify as a review app. If I could manually specify the “branch name” on the CLI/API then I could simply deploy from there.
netlify deploy --branch=$CI_COMMIT_REF_NAME. Then the URL is predictable so you can include it in the
url parameter of the review app configuration. Or even better I would use
$CI_COMMIT_SHA so that I can easily see the website for any git version.