Hi, I am doing pipeline integration in bitbucket to deploy a theme based on Dawn. Basically the pipeline will push the theme to the online store, however I am stuck on running
shopify store --store=myStore
because it tries to open a browser to select account to make the changes, same issue with command
shopify login --store=myStore
with themekit this was not an issue, since the updating was made via a private app and a config file.
My question is, is there a way to send the auth details on the command?, ex
shopify login --store=myStore --username=userName --password=password
use a config file like themekit?
any idea how to get this working?
we have the same problem.
is there any way to log in to Shopify CLI without user interaction?
in ThemeKit we used ENV VARs: THEMEKIT_STORE, THEMEKIT_PASSWORD
To everyone in this thread: please go to https://github.com/Shopify/shopify-cli/issues/1582 and upvote the issue at the top. The more upvotes it gets, the sooner Shopify will introduce this feature!
This is the response that we got as an official Shopify Partner:
If you are looking for CLI support, then I suggest heading over to our Shopify CLI Github repo. In this case because what you are looking to do is not currently a feature of the CLI tool, it would be considered a feature request. I also recommend that once you have created a Github issue, you share this Github issue back into your forum post. This can encourage other posters to reply in the Github issue as well as follow it there. This type of extra interaction could help to cause more movement on finding a solution from our internal teams.
Raising the priority on this looks like the only way to solving this, so make sure to ask anyone whom it may concern to help out.
Let's do this!
Alex & The Team at buddy.works