Questions, feedback, and updates on the new online store design experience
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 <repository-url>
shopify theme share
But this way, the new theme created is not connected with Github.
Solved! Go to the solution
This is an accepted solution.
Hi @deMenezes
I have try to automatically create a new theme using Github branch, but it is not possible in shopify to create automatic new theme and using shopify theme share command, also not possible to connect Github automatically.
We have to select branch manually using Add theme option.
Thank you.
This is an accepted solution.
Hi @deMenezes
I have try to automatically create a new theme using Github branch, but it is not possible in shopify to create automatic new theme and using shopify theme share command, also not possible to connect Github automatically.
We have to select branch manually using Add theme option.
Thank you.
I imagined it would be like this.
Thank's for your time
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023