shopify theme publish
Set a remote theme as the live theme.
Publishes an unpublished theme from your theme library.
If no theme ID is specified, then you're prompted to select the theme that you want to publish from the list of themes in your store.
You can run this command only in a directory that matches the default Shopify theme folder structure.
If you want to publish your local theme, then you need to run shopify theme push first. You're asked to confirm that you want to publish the specified theme. You can skip this confirmation using the --force flag.
Usage
shopify theme publish [flags]Summary
Set a remote theme as the live theme.
Flags
--no-color— Disable color output. optional Environment:SHOPIFY_FLAG_NO_COLOR.--password <value>string— Password generated from the Theme Access app or an Admin API token. optional Environment:SHOPIFY_CLI_THEME_TOKEN.--path <value>string— The path where you want to run the command. Defaults to the current working directory. optional Environment:SHOPIFY_FLAG_PATH.--verbose— Increase the verbosity of the output. optional Environment:SHOPIFY_FLAG_VERBOSE.-e, --environment <value>string— The environment to apply to the current command. optional Environment:SHOPIFY_FLAG_ENVIRONMENT.-f, --force— Skip confirmation. optional Environment:SHOPIFY_FLAG_FORCE.-s, --store <value>string— Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com). optional Environment:SHOPIFY_FLAG_STORE.-t, --theme <value>string— Theme ID or name of the remote theme. optional Environment:SHOPIFY_FLAG_THEME_ID.