Skip to content

Commit 160e325

Browse files
committed
Add preview branch note to triggering docs
1 parent bba4feb commit 160e325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/triggering.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Trigger tasks **from inside a another task**:
2828

2929
## Triggering from your backend
3030

31-
When you trigger a task from your backend code, you need to set the `TRIGGER_SECRET_KEY` environment variable. You can find the value on the API keys page in the Trigger.dev dashboard. [More info on API keys](/apikeys).
31+
When you trigger a task from your backend code, you need to set the `TRIGGER_SECRET_KEY` environment variable. If you're [using a preview branch](/deployment/preview-branches), you also need to set the `TRIGGER_PREVIEW_BRANCH` environment variable. You can find the value on the API keys page in the Trigger.dev dashboard. [More info on API keys](/apikeys).
3232

3333
<Note>
3434
If you are using Next.js Server Actions [you'll need to be careful with

0 commit comments

Comments
 (0)