Skip to content

Commit 964b1a1

Browse files
committed
Use supabase uri from env
1 parent 47195bc commit 964b1a1

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.github/actions/push-registry-app-files-supabase/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ inputs:
77
supabase_anon_key:
88
description: "Supabase anon key"
99
required: true
10+
supabase_uri:
11+
description: "Supabase URI"
12+
required: true
1013
runs:
11-
using: "node16"
14+
using: "node22"
1215
main: "dist/index.js"

.github/actions/push-registry-app-files-supabase/dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44818,7 +44818,7 @@ const { execSync } = __nccwpck_require__(2081);
4481844818

4481944819

4482044820

44821-
const supabaseUrl = "https://ywxbxfcsskoyjwnlpqms.supabase.co"
44821+
const supabaseUrl = core.getInput("supabase_uri");
4482244822
const supabaseKey = core.getInput("supabase_anon_key");
4482344823
const changedFiles = JSON.parse(core.getInput("changed_files") || "[]");
4482444824

.github/actions/push-registry-app-files-supabase/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { execSync } = require("child_process");
44

55
import { createClient } from "@supabase/supabase-js";
66

7-
const supabaseUrl = "https://ywxbxfcsskoyjwnlpqms.supabase.co"
7+
const supabaseUrl = core.getInput("supabase_uri");
88
const supabaseKey = core.getInput("supabase_anon_key");
99
const changedFiles = JSON.parse(core.getInput("changed_files") || "[]");
1010

.github/workflows/push-registry-app-files-supabase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,4 @@ jobs:
5252
with:
5353
changed_files: ${{ steps.changed_files.outputs.all }}
5454
supabase_anon_key: ${{ secrets.SUPABASE_ANON_KEY }}
55+
supabase_uri: ${{ secrets.SUPABASE_URI }}

0 commit comments

Comments
 (0)