You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There doesn't seem to be support for .shopifyignore which the Shopify CLI uses to ignore listed files and directories from being uploaded during a deploy. I tried creating this file and placing under the root directory and the root of /shopify and in both instances it didn't work.
Not sure if this project is still being worked on but it would be nice to add this as part of future update.
EDIT
A typical use case would be to ignore the shopify/config/settings_data.json file from overriding what exists within the store. You can delete this file locally to prevent it from being uploaded but this throws an error during deployment. It doesn't stop the deploy but this should be handled more gracefully.
Error
ERROR update config/settings_data.json: No such file or directory @ rb_sysopen - config/settings_data.json
┃ ERROR delete config/settings_data.json:
┃ config/settings_data.json could not be deleted
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
There doesn't seem to be support for
.shopifyignore
which the Shopify CLI uses to ignore listed files and directories from being uploaded during a deploy. I tried creating this file and placing under the root directory and the root of/shopify
and in both instances it didn't work.Not sure if this project is still being worked on but it would be nice to add this as part of future update.
EDIT
A typical use case would be to ignore the
shopify/config/settings_data.json
file from overriding what exists within the store. You can delete this file locally to prevent it from being uploaded but this throws an error during deployment. It doesn't stop the deploy but this should be handled more gracefully.Error
Reference to
.shopifyignore
support documentationBeta Was this translation helpful? Give feedback.
All reactions