Shopify / themekit

Shopify theme development command line tool.
https://shopify.dev/tools/theme-kit
MIT License
1.19k stars 374 forks source link

Deploying for multiple specified envs #911

Closed paulhuisman closed 3 years ago

paulhuisman commented 3 years ago

I saw something in documentation about the possibility to supply a "string array" into --env but didn't manage to get it to work.

Is it possible to do something like theme deploy --env=development,stage ?

We run a site with many different env's and it would be nice to deploy to multiple env's in one line.

andyw8 commented 3 years ago

That isn't supported, but you can pass --allenvs to run the deploy for each environment in your config file.

https://shopify.dev/tools/theme-kit/command-reference#deploy

paulhuisman commented 3 years ago

Thanks for your response.

andyw8 commented 3 years ago

I've since learned that there is a way to do this, see https://github.com/Shopify/themekit/issues/913