deployctl icon indicating copy to clipboard operation
deployctl copied to clipboard

Allow passing in a specific preview/deploy ID to get predetermined URL

Open csvn opened this issue 2 years ago • 1 comments

Hello! We're using deployctl do deploy a site from Gitlab CI. This works fine for production, where we know the URL ahead of time. But for a branch in a MR it's not possible to know the preview deploy URL ahead of time, due to the randomized deploy ID. This makes it hard to use many features (e.g. environments with URL), as well as sending preview links to others that do not become outdated (deploy ID's seem to be immutable).

It would be great if it was possible to either specify a branch (e.g. --branch my-feature), similar to how it works with the Github project connection.

deployctl deploy --project=example --branch=batman ./main.ts
// Link can be predicted: https://example--batman.deno.dev

csvn avatar Aug 24 '23 20:08 csvn

Hey! This is a very reasonable request. We have some features in our backlog that would address this. This is however not a DeployCTL specific feature, but rather a general Deno Deploy request. Therefore, I suggest to report it in https://github.com/denoland/deploy_feedback where it will get better visibility and will help prioritize our roadmap.

arnauorriols avatar Nov 29 '23 12:11 arnauorriols