Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update filename and improved the opening sentence

Andrew Smith19909873a02b
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
index 002600d8b24..e3dd6902fa1 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
@@ -707,8 +707,8 @@ export const supabase_cli = {
{ name: 'Overview', url: '/guides/cli' },
{ name: 'Managing Environments', url: '/guides/cli/managing-environments' },
{
- name: 'Using environment variables in your config',
- url: '/guides/cli/using-envitonment-variables-in-your-config',
+ name: 'Using environment variables in config.toml',
+ url: '/guides/cli/using-envitonment-variables-in-config',
},
{
name: 'Reference',
diff --git a/apps/docs/pages/guides/cli/using-envitonment-variables-in-config.mdx b/apps/docs/pages/guides/cli/using-envitonment-variables-in-config.mdx
new file mode 100644
index 00000000000..5bfae49f883
--- /dev/null
+++ b/apps/docs/pages/guides/cli/using-envitonment-variables-in-config.mdx
@@ -0,0 +1,33 @@
+import Layout from '~/layouts/DefaultGuideLayout'
+
+export const meta = {
+ id: 'using-envitonment-variables-in-config',
+ title: 'Using environment variables in config.toml',
+ description: 'How to use environment variables in config.toml with the Supabase CLI.'
+}
+
+The Supabase CLI is capable of utilizing environment variables stored in our project's root directory's `.env` file within the `config.toml` file.
+
+We can reference the environment variable by using the `env()` function.
+
+Inside of our `.env` file we add the environment variable as we normally would
+```env
+GITHUB_CLIENT_ID=""
+GITHUB_SECRET=""
+```
+
+And then reference them inside of our `config.toml`
+```toml
+[auth.external.github]
+enabled = true
+client_id = "env(GITHUB_CLIENT_ID)"
+secret = "env(GITHUB_SECRET)"
+# Overrides the default auth redirectUrl.
+redirect_uri = ""
+```
+
+These same environment variables will be referenced by the `supabase start` command from the Supabase CLI.
+
+export const Page = ({ children }) => <Layout meta={meta} children={children} />
+
+export default Page
diff --git a/apps/docs/pages/guides/cli/using-envitonment-variables-in-your-config.mdx b/apps/docs/pages/guides/cli/using-envitonment-variables-in-your-config.mdx
deleted file mode 100644
index 229fd83712a..00000000000
--- a/apps/docs/pages/guides/cli/using-envitonment-variables-in-your-config.mdx
+++ /dev/null
@@ -1,33 +0,0 @@
-import Layout from '~/layouts/DefaultGuideLayout'
-
-export const meta = {
- id: 'using-envitonment-variables-in-your-config',
- title: 'Using environment variables in your config.toml',
- description: 'How to use environment variables in your config.toml with the Supabase CLI.'
-}
-
-The Supabase CLI can use environment variables from your `.env` file in your project's root directory inside your `config.toml` file.
-
-You can reference your environment variable by using the `env()` function.
-
-Inside of your `.env` file you add the environment variable as you normally would
-```env
-GITHUB_CLIENT_ID=""
-GITHUB_SECRET=""
-```
-
-And then reference them inside of your `config.toml`
-```toml
-[auth.external.github]
-enabled = true
-client_id = "env(GITHUB_CLIENT_ID)"
-secret = "env(GITHUB_SECRET)"
-# Overrides the default auth redirectUrl.
-redirect_uri = ""
-```
-
-These same environment variables will be referenced by the `supabase start` command from the Supabase CLI.
-
-export const Page = ({ children }) => <Layout meta={meta} children={children} />
-
-export default Page