hydrogen env push
Push environment variables from the local .env file to your linked Hydrogen storefront.
Anchor to flagsFlags
The following flags are available for the hydrogen env push command:
- Anchor to --env <value>--env <value>string
Specifies the environment to perform the operation using its handle. Fetch the handle using the
env listcommand.- Anchor to --env-file <value>--env-file <value>string
Path to an environment file to override existing environment variables. Defaults to the '.env' located in your project path
--path.- Anchor to --path <value>--path <value>stringenv: SHOPIFY_HYDROGEN_FLAG_PATH
The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
Examples
hydrogen env push
shopify hydrogen env push [flags]
Examples
hydrogen env push
hydrogen env push
shopify hydrogen env push [flags]
Was this page helpful?