we're shifting our preview env deploys from being ...
# how-do-i
t
we're shifting our preview env deploys from being Vercel-controlled to Github-controlled one of the things we seem to have lost is the "Preview" button in top right of Graphite UI — is there something we need to do to get Graphite to recognize what our preview env's URL is so the button shows? i.e. from our new preview-deploy job
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
Hey Tyler, the way this works is parsing comments for preview links and checks for some known formats eg: • Vercel table format — looks for | Name | Status | Preview | tables • Cloudflare format — looks for "Cloudflare Pages/Workers" + "Branch Preview URL" • Markdown links with "preview" in the text — matches [...preview...](https://...) (case-insensitive) • Direct hosting URLs — matches _.amplifyapp.com,_ .web.app, *.netlify.app Probably easiest way is to have a comment posted with preview in it like markdown link with the word "preview" in the link text, e.g.: [Preview](https://their-preview-url.example.com)