Is it possible to automatically create a theme on Shopify once a branch is created on Github?
git checkout -b new-branch
git push origin new-branch
// Now Shopify creates my theme automatically connected to this branch
We already have Github connected to our store, and we’ve already managed to make this connection manually (clicking “Add theme” and then “Connect from Github”).
If it’s not possible to do this automatically, is it possible via the Shopify CLI?
The order of commands that come closest to what I need are these:
git checkout main
git pull origin main
git checkout -b my-branch
git push origin my-branch
shopify theme init "Theme name" --clone-url
But this way, the new theme created is not connected with Github.