Shopify / slate

Slate is a toolkit for developing Shopify themes. It's designed to assist your workflow and speed up the process of developing, testing, and deploying themes.
https://shopify.github.io/slate
MIT License
1.28k stars 364 forks source link

Deploy to multiple environments #942

Open driespieters opened 5 years ago

driespieters commented 5 years ago

Is it possible to deploy to multiple environments at once?

Something like this would be perfect: yarn deploy --env=development,production

I have a project with multiple live stores using the same theme, so deploying to multiple environments in one command would be really helpful

t-kelly commented 5 years ago

@driespieters I think Themekit can do that... and if so, Slate can too. Could you try uploading multiple environments using Themekit and let me know?

cc @tanema

tanema commented 5 years ago

themekit can yes but I am not sure how slate wraps the flags (if at all) Themekit takes multiple --env flags so you would have to run theme deploy --env=development --env=production it even takes wildcards so if you wanted to deploy everything you could use --env="*" (quotes so that your shell doesn't interpret the *).

t-kelly commented 5 years ago

Okay cool I'll see how we can make this possible with Slate. Thanks Tim!