How to deploy Gadget staging code to production without Shopify app deploy
Hi team, I have a deployment question.
I’m using Managed install for my Shopify app.
For certain reasons, I don’t want to run
shopify app deploy
right now.
What I want is simply to promote my Gadget code from staging to production.
Question:
If I omit/remove the Shopify TOML file and run ggt deploy to production, will Gadget deploy my app code to the production environment without touching any Shopify app configuration (i.e., no shopify app deploy side-effects)?
I tried running the command on the screenshot, but when prompted, I selected No and cancelled for now
Thanks!
3 Replies
Please note that the Gadget deployment doesn't run shopify app deploy for you. You can keep the toml and deploy normally. This will only push the code from your development env to production in Gadget
Got it, thanks for clarifying! That’s exactly what I wanted to confirm. I’ll keep the TOML and just use ggt deploy to push Gadget code to production.
Do you like this answer?