Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to prioritise sections over templates when deploying? #969

Open
ConduciveMammal opened this issue Feb 19, 2022 · 1 comment
Open

Comments

@ConduciveMammal
Copy link

ConduciveMammal commented Feb 19, 2022

Is your feature request related to a problem? Please describe.
So currently, with OS2.0 themes, when I attempt a full theme deploy to a store, the process crashes because the JSON templates are being pushed before their corresponding sections. The sections do, in fact, exist. ThemeKit just hasn't gotten around to deploying them yet.

Describe the solution you'd like
Some sort of method that pushes the section files before pushing the templates.

Describe alternatives you've considered
The only option I've found is running my Gulp watcher to manually push sections to the store and then run the deploy.

Additional context

image

@jeffreyguenther
Copy link

I can confirm I have experienced this issue as well. The issue is ThemeKit considers all files equally when uploading. The latest version of the Shopify CLI does not. It prioritizes Liquid files before settings in the push command.

Depending on your use case, you might find it easier to the use the Shopify CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants