Skip to content

Commit 3b00860

Browse files
committed
Updated page titles
1 parent 3b273b7 commit 3b00860

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

docs/guides/frameworks/supabase-edge-functions-basic.mdx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Triggering tasks from Supabase edge functions"
3-
sidebarTitle: "Supabase"
3+
sidebarTitle: "Supabase edge functions - basic"
44
description: "This guide will show you how to trigger a task from a Supabase edge function, and then view the run."
55
icon: "bolt"
66
---
@@ -144,18 +144,19 @@ First, go to your Trigger.dev project and copy the `dev` secret key from the API
144144
Then create an `.env` file in the functions folder, and add your `TRIGGER_SECRET_KEY`.
145145

146146
```ts functions/.env
147-
TRIGGER_SECRET_KEY="your-secret-key";
147+
TRIGGER_SECRET_KEY = "your-secret-key";
148148
```
149149

150150
<Warning>
151-
If you are using GitHub - make sure to include `.env` in your `.gitignore` file before committing any files to GitHub.
151+
If you are using GitHub - make sure to include `.env` in your `.gitignore` file before committing
152+
any files to GitHub.
152153
</Warning>
153154

154155
</Step>
155156

156157
<Step title="Test your new edge function locally">
157158

158-
To do this, open up two terminal windows in your project.
159+
To do this, open up two terminal windows in your project.
159160

160161
In the first terminal window run:
161162

@@ -210,7 +211,7 @@ Go to your Trigger.dev project and copy the `prod` secret key from the API keys
210211

211212
![How to find your prod secret key](/images/api-key-prod.png)
212213

213-
Then, in Supabase, navigate to your settings page, click 'Edge functions' in the configurations menu, and then click the 'Add new secret' button.
214+
Then, in Supabase, navigate to your settings page, click 'Edge functions' in the configurations menu, and then click the 'Add new secret' button.
214215

215216
Add `TRIGGER_SECRET_KEY` with the pasted value of your Trigger.dev `prod` secret key.
216217

@@ -264,7 +265,7 @@ yarn dlx trigger.dev@beta deploy
264265

265266
To do this all you need to do is simply open the `edge-function-trigger` URL.
266267

267-
On your Supabase dashboard, go to your Edge function dashboard, copy the URL, and paste it into your browser.
268+
On your Supabase dashboard, go to your Edge function dashboard, copy the URL, and paste it into your browser.
268269

269270
Once loaded you should see ‘OK’ on the new screen.
270271

docs/guides/frameworks/supabase-edge-functions-database-webhooks.mdx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Triggering tasks from Supabase edge functions"
3-
sidebarTitle: "Supabase"
2+
title: "Triggering tasks from Supabase database webhooks"
3+
sidebarTitle: "Supabase edge functions - database webhooks"
44
description: "This guide will show you how to trigger a task from a Supabase edge function, and then view the run."
55
icon: "bolt"
66
---
@@ -144,18 +144,19 @@ First, go to your Trigger.dev project and copy the `dev` secret key from the API
144144
Then create an `.env` file in the functions folder, and add your `TRIGGER_SECRET_KEY`.
145145

146146
```ts functions/.env
147-
TRIGGER_SECRET_KEY="your-secret-key";
147+
TRIGGER_SECRET_KEY = "your-secret-key";
148148
```
149149

150150
<Warning>
151-
If you are using GitHub - make sure to include `.env` in your `.gitignore` file before committing any files to GitHub.
151+
If you are using GitHub - make sure to include `.env` in your `.gitignore` file before committing
152+
any files to GitHub.
152153
</Warning>
153154

154155
</Step>
155156

156157
<Step title="Test your new edge function locally">
157158

158-
To do this, open up two terminal windows in your project.
159+
To do this, open up two terminal windows in your project.
159160

160161
In the first terminal window run:
161162

@@ -210,7 +211,7 @@ Go to your Trigger.dev project and copy the `prod` secret key from the API keys
210211

211212
![How to find your prod secret key](/images/api-key-prod.png)
212213

213-
Then, in Supabase, navigate to your settings page, click 'Edge functions' in the configurations menu, and then click the 'Add new secret' button.
214+
Then, in Supabase, navigate to your settings page, click 'Edge functions' in the configurations menu, and then click the 'Add new secret' button.
214215

215216
Add `TRIGGER_SECRET_KEY` with the pasted value of your Trigger.dev `prod` secret key.
216217

@@ -264,7 +265,7 @@ yarn dlx trigger.dev@beta deploy
264265

265266
To do this all you need to do is simply open the `edge-function-trigger` URL.
266267

267-
On your Supabase dashboard, go to your Edge function dashboard, copy the URL, and paste it into your browser.
268+
On your Supabase dashboard, go to your Edge function dashboard, copy the URL, and paste it into your browser.
268269

269270
Once loaded you should see ‘OK’ on the new screen.
270271

0 commit comments

Comments
 (0)