We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e793da commit 11470cdCopy full SHA for 11470cd
README.md
@@ -62,6 +62,16 @@ deploy-env production API_KEY SECRET GRAPHQL_ENDPOINT
62
```
63
64
65
+## Programmatic API
66
+
67
+### `deployEnv`
68
+A function which deploys environment variables from `.env` and `.env-cmdrc.json` files:
69
70
+- `deploymentEnv` { `'production'|'preview'|'development'` }: Deployment environment to be deployed to
71
+- `varNameList` { `string[]` }: (optional) List of environment variables to be deployed
72
+- **Returns** { `Promise<void>` }: Promise which resolves when deployment completes
73
74
75
## Related Projects
76
[`env-cmd`](https://github.com/toddbluhm/env-cmd) - a simple node program for executing commands using an environment from an env file
77
0 commit comments