I would like to build my site using GatsbyJS for the front end, and Shopify as the backend. This is nothing new as the GatsbyJS store itself is built with a Shopify backend. What I would like to do differently is host the static site generated during my Gatsby build, on Shopifys servers.
Ideally i would like to run my builds in a CI/CD pipeline that automatically publishes the result to the server.
Is there a simple way to do this?
Can Slate (or another tool) be configured to achieve this result by presenting my site as a theme?
This is technically possible but not an intended use case of the Shopify Theme API (afaict) and from experience building abstractions on top of the Shopify Theme API this would quirky to implement and a nightmare to maintain longterm.
Based on announcements from the Unite conference I think support for third party and custom storefronts is being improved dramatically which would make the using another provider for hosting (Netlify, AWS, GCP, etc..) the best option as @timswalling suggested.