From 0d806a1d9f00a541e108927547beb04fb10b4064 Mon Sep 17 00:00:00 2001 From: Florian Bienefelt Date: Wed, 10 Sep 2025 18:30:47 +0200 Subject: [PATCH] Add Supabase env vars usage instructions to README Added instructions for using Supabase environment variables in the application setup. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index ec5fdc1..c39d9a5 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,17 @@ env: - run: supabase db push ``` +Use Supabase env vars to run your application: + +```yaml +steps: + - uses: supabase/setup-cli@v1 + - run: supabase start + - name: Export env vars + # Customize the variable names if necessary for your .env file + run: supabase status -o env --override-name api.url=SUPABASE_URL --override-name auth.service_role_key=SUPABASE_SERVICE_ROLE_KEY >> .env +``` + ## Develop After you've cloned the repository to your local machine or codespace, you'll