Skip to content

How to get preview assigned to that branch #108

@enesozturk

Description

@enesozturk

Hey there,

Thanks much for such a library. It seems like exactly what I'm looking for. But I've confused on one thing; it expects deployment-url, but I have one deployment URL.What if I want to get preview of the deployment assigned to my PR/branch? Since the deployment keys are auto generated, where can I know what is my deployment-url of my PR?

If I pass my production app URL to deployment-url: my-app.vercel-app, it returns my-app-5elt1353h.vercel.app (see in the picture 5elt1353h is my latest production deployment build from main.

Image

But what I look is that I'm creating a PR from feat/my-branch, it should return the latest URL of deployment created from feat/my-branch

Isn't that possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions