app deploycommand
Builds the app, then deploys your app configuration and extensions.
This command creates an app version, which is a snapshot of your app configuration and all extensions, including the app extensions that you manage in the Partner Dashboard. This version is then released to users.
This command doesn't deploy your web app. You need to deploy your web app to your own hosting solution.
Anchor to flagsFlags
The following flags are available for the app deploy
command:
- Anchor to --client-id <value>--client-id <value>stringenv: SHOPIFY_FLAG_CLIENT_ID
The Client ID of your app.
- Anchor to --message <value>--message <value>stringenv: SHOPIFY_FLAG_MESSAGE
Optional message that will be associated with this version. This is for internal use only and won't be available externally.
- Anchor to --no-build--no-buildenv: SHOPIFY_FLAG_NO_BUILD
Use with caution: Skips building any elements of the app that require building. You should ensure your app has been prepared in advance, such as by running
shopify app build
or by caching build artifacts.- Anchor to --no-color--no-colorenv: SHOPIFY_FLAG_NO_COLOR
Disable color output.
- Anchor to --no-release--no-releaseenv: SHOPIFY_FLAG_NO_RELEASE
Creates a version but doesn't release it - it's not made available to merchants.
- Anchor to --path <value>--path <value>stringenv: SHOPIFY_FLAG_PATH
The path to your app directory.
- Anchor to --reset--resetenv: SHOPIFY_FLAG_RESET
Reset all your settings.
- Anchor to --source-control-url <value>--source-control-url <value>stringenv: SHOPIFY_FLAG_SOURCE_CONTROL_URL
URL associated with the new app version.
- Anchor to --verbose--verboseenv: SHOPIFY_FLAG_VERBOSE
Increase the verbosity of the output.
- Anchor to --version <value>--version <value>stringenv: SHOPIFY_FLAG_VERSION
Optional version tag that will be associated with this app version. If not provided, an auto-generated identifier will be generated for this app version.
- Anchor to -c, --config <value>-c, --config <value>stringenv: SHOPIFY_FLAG_APP_CONFIG
The name of the app configuration.
- Anchor to -f, --force-f, --forceenv: SHOPIFY_FLAG_FORCE
Deploy without asking for confirmation.
App deploy
Examples
app deploy
app deploy
shopify app deploy [flags]