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 😞
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
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...By Trevor Sep 20, 2023
Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...By Skye Sep 15, 2023