Skip to content

Commit fd03703

Browse files
jackbridgerTrigger.dev RepoOps
authored andcommitted
docs: say the env commands don't read TRIGGER_PROJECT_REF from .env
Mono-RevId: e7d64c59fca4ed3571a96593ea4fbf4be512c8ae
1 parent adab667 commit fd03703

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎docs/cli-env-commands.mdx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import ProjectRefOptions from "/snippets/cli-options-project-ref.mdx";
1010

1111
These commands manage environment variables on a project environment. They default to `prod`. Use `--env staging` or `--env preview` (with `--branch`) for the other environments. There is no `dev` target: local `trigger dev` reads your local `.env`.
1212

13+
Unlike `trigger dev` and `trigger deploy`, these commands don't read `TRIGGER_PROJECT_REF` from `.env` files. If your config sets `project: process.env.TRIGGER_PROJECT_REF`, pass `--project-ref`, or export the variable in your shell.
14+
1315
<CodeGroup>
1416

1517
```bash npm

0 commit comments

Comments
 (0)