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,