• Buck Doyle's avatar
    Migrate preview deployments from Netlify to Vercel (#9471) · 3b59e1be
    Buck Doyle authored
    This adds:
    
    * a script for building and deploying the Ember UI and Storybook to
      Vercel
    * configuration for that deployment
    * a header link to the UI to link to Storybook when built with
      STORYBOOK_LINK=true
    
    It also removes a file used to configure Netlify redirects.
    
    The Netlify setup had two “sites”: nomad-storybook and nomad-ui. I
    attempted to replicate that here but ran into some platform limitations
    with Vercel: two “projects” cannot share the same root directory without
    also sharing the same vercel.json that lets us specify configuration
    such as the rewrite needed to handle deep linking into the Ember UI. I
    tried having Storybook use /ui/storybook as the root directory (and
    adding a symbolically-linked package.json to bypass Vercel’s refusal
    to build without it) but that produced broken Storybook deployments.
    
    This instead combines the two projects into one
    (nomad-storybook-and-ui), defaults to forwarding / t...
    3b59e1be