Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
It looks like the theme GitHub Integration doesn't support the .gitignore file
I want to distribute the theme code via GitHub without loosing the store custom settings. Is it possible?
I have the same problem - I have config/settings_data.json in a gitignore file, but any theme settings I change are causing that file to be pushed to the repo anyway, so my other stores end up syncing each others' wrong theme settings 😕
Support suggested connecting a different branch for each store, but I don't see how that would fix it - at some point you still need to merge the branches up or down with dev updates, and settings_data.json will still be in there...
We have exactly the same issue, we don't want to overwrite the files in /config directory.
But the GitHub integration does not support the .gitignore file 😞
Same issue here. Hoping it'll be fixed soon!
I'm having the same trouble!
How can we use GitHub integration at all if settings_data.json has to be synced between different branches?
The dev and staging themes should not be supposed to have the same content on the homepage.
This is content, it shouldn't be handled the same way as code!
Hi @MP, did you manage to find a workaround for this issue?
I am setting up a project with a 2.0 theme and I am running into the same problem, since I have two stores and Shopify Github integration doesn't ignore the templates folder and the settings_data file even though I added them to the .gitignore file
In addition to the /config/settings_data.json file, we should be able to also ignore any other data file in a 2.0 theme.
The .gitignore file we use on my team for Themekit has these contents, but this should be respected in the Github integration as the OP states.
config/settings_data.json
locales/*
!locales/*.schema.json
templates/*.json
I have come across this blog article about setting up a workflow with a single github repo and tested it on my store. The merge action automatically fails if any of the templates, settings_data or locales files is changed, and you need to manually edit the files in the Shopify code editor.
Still not ideal as a continuous integration tool like Buddy, but a step in the right direction
https://serieseight.com/journal/how-to-manage-multiple-shopify-themes-with-a-single-github-repo
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024