You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Note: You can use `dpl-env` as an alias for `deploy-env`
44
44
45
-
> If a `.env.[environment]` file doesn't exist when running: `deploy-env [environment]`, the `.env` file will be used as a fallback and deployed to the environment specified in the command
45
+
> If a `.env.[environment]` file doesn't exist when running: `deploy-env [environment]`, the `.env` file will be used and deployed to the environment specified in the command
46
46
47
47
48
48
## Examples
@@ -67,7 +67,7 @@ deploy-env production API_KEY SECRET GRAPHQL_ENDPOINT
67
67
### `deployEnv`
68
68
A function which deploys environment variables from `.env` and `.env-cmdrc.json` files:
69
69
70
-
-`deploymentEnv` { `'production'|'preview'|'development'` }: Deployment environment to be deployed to
70
+
-`deploymentEnv` { `'production' | 'preview' | 'development'` }: Deployment environment to be deployed to
71
71
-`varNameList` { `string[]` }: (optional) List of environment variables to be deployed
72
72
-**Returns** { `Promise<void>` }: Promise which resolves when deployment completes
0 commit comments