For repos on self-hosted GitHub Enterprise installs that have to use GH actions to deploy, is there a recommended way to automatically generate domains that includes the branch? (ie: $project-$branch-$org.vercel.app)? These URLS are automatically created when using the Vercel GH app with a repo on github.com, but aren’t created when using github actions to deploy, which the case for repos on Enterprise GH.
I only get $project-$commit-$org.vercel.app
and $project-$author-org.vercel.app
, but I need to have a stable preview deployment URL for each branch so that they can be shared while the work is still in progress on the branch.
I’ve searched through the docs and the only possible solution I can see is setting up a wildcard custom domain and calling vercel alias
as part of the build process to alias a $branch.$domain.com
URL to the latest build.
Would this work, and are there any downsides or limitations to this solution that I should be aware of? Is there a different solution that you’d recommend?