Describe the bug
We recently added the creation of a backup in our github actions using the theme new command.
When doing theme new --env=backup ...other_settings it removes environment variables from the config.yml file.
To Reproduce
Steps to reproduce the behavior:
in the config.yml file add a development environment with an environment variable for the theme_id. ex: theme_id: ${DEV_THEME_ID}
run theme new --env=backup --password=mypassword --store=store.myshopify.com --name=theme
theme_id will be removed from the development environment in config.yml.
Expected behavior
The environment variables should stay present in the config.yml after runing theme new
Environment (please complete the following information):
OS [e.g. iOS]: windows 10
Themekit version (run theme version to check): 1.1.4
Describe the bug We recently added the creation of a backup in our github actions using the
theme new
command. When doingtheme new --env=backup ...other_settings
it removes environment variables from the config.yml file.To Reproduce Steps to reproduce the behavior:
theme_id: ${DEV_THEME_ID}
theme new --env=backup --password=mypassword --store=store.myshopify.com --name=theme
Expected behavior The environment variables should stay present in the config.yml after runing
theme new
Environment (please complete the following information):