yarnpkg / website

Yarn package manager website
https://classic.yarnpkg.com
433 stars 980 forks source link

Use custom subdomain for deploy previews in PRs #295

Open Daniel15 opened 7 years ago

Daniel15 commented 7 years ago

The preview URLs currently look like this: https://deploy-preview-293--assembler-pig-23305.netlify.com/

Netlify support custom subdomains for preview URLs: https://twitter.com/calavera/status/803615314390810624

it’s possible to use subdomains with a wildcard CNAME, we can help you if you contact support @ netlify

We should enable this so we can get yarnpkg.com preview URLs.

jamiebuilds commented 7 years ago

I have no idea how to do this. It is now https://deploy-preview-293--yarnpkg.netlify.com/ though

Daniel15 commented 7 years ago

@thejameskyle - I assume we'd create a CNAME like *.preview.yarnpkg.com or something like that, but Netlify support would be able to clarify 😄

fool commented 6 years ago

I think you misunderstood that tweet. The wildcard subdomain feature is something else (serving your production deploy at *.yourdomain.com without configuring each name on our service); deploy previews are always <hash>--sitename.netlify.com.

fool commented 6 years ago

cc @calavera perhaps I misunderstood? Could you clarify?