I am in the process of migrating from the vercel github integration to the vercel CLI + github actions for build and deployment of preview branches.
I am running into an issue where the CI-created deployments do not get the right branch or commit name, and therefore to not get a branch-specific URL.
Here's what my deployments look like with the integration:

And here's what they look like with the ci-based deployment:

I read through this thread about a similar migration, but could not find any solution: https://community.vercel.com/t/switching-from-github-integration-to-manual-ci-cd-through-github-actions/662
I tried adding --git-branch=${{ github.head_ref }} to my vercel pull command, but that didn't help either. It feels like there's some env variable or argument that the vercel github integration is using that I'm missing.
Would appreciate any help or advice on this! Let me know if more context is needed.

