From 4b3b0f86ae89860157d0c8be21db0ae22875c2b3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 19 Sep 2024 15:08:38 +0200 Subject: [PATCH] fix: action name --- plugins/kontinuous-ui/pre-deploy/01-deployment_event.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/kontinuous-ui/pre-deploy/01-deployment_event.js b/plugins/kontinuous-ui/pre-deploy/01-deployment_event.js index 10541165e..ba453f203 100644 --- a/plugins/kontinuous-ui/pre-deploy/01-deployment_event.js +++ b/plugins/kontinuous-ui/pre-deploy/01-deployment_event.js @@ -2,7 +2,7 @@ const { createClient } = require("@supabase/supabase-js") module.exports = async (_manifests, _options, { config }) => { const { - action, + actionCommandName, gitSha, projectName, environment, @@ -12,12 +12,12 @@ module.exports = async (_manifests, _options, { config }) => { const supabase = createClient( "https://dabwsunwcukreynmegja.supabase.co", - "XXXX" + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImRhYndzdW53Y3VrcmV5bm1lZ2phIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjU2NDQwMDksImV4cCI6MjA0MTIyMDAwOX0.8779ZywO5dvRLfMGMShlxBUqGeqC6WK4k3e0puBN7So" ) const { error } = await supabase.from("deployments_logs").insert([ { - status: action, + status: actionCommandName, commit_hash: gitSha, project: projectName, environment,