App reviews, troubleshooting, and recommendations
Hi
I am trying to deploy our theme app extension to Shopify using Azure DevOps.
Where I have got stuck is running the 'npm run deploy' command in the YAML script in the pipeline, where I am being asked to authenticate on the browser.
Does anybody know any way around this? Preferable using CLI 3.x
Thanks
Solved! Go to the solution
This is an accepted solution.
I didn't see this before
Deploy extensions in a CD pipeline (shopify.dev)
Generating the token works
yarn shopify app deploy --api-key <ENV-API-KEY>
This is how I do it
Thanks, but that didn't work, I tried with npm
It does not appear to be an option in either CLI 3.x
Shopify CLI commands for apps
Or 2.x
This is an accepted solution.
I didn't see this before
Deploy extensions in a CD pipeline (shopify.dev)
Generating the token works
But how we can combine token along with npm ?
its work for me
SHOPIFY_CLI_PARTNERS_TOKEN=token npm run deploy
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024