From 95be525c816fbf8b91a0335e0fdca5499692b419 Mon Sep 17 00:00:00 2001 From: Ed Zynda Date: Thu, 16 May 2024 14:40:43 +0300 Subject: [PATCH] fix dispatch --- .k8s/staging/deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.k8s/staging/deployment.yml b/.k8s/staging/deployment.yml index b23c155..9feed4e 100644 --- a/.k8s/staging/deployment.yml +++ b/.k8s/staging/deployment.yml @@ -73,7 +73,7 @@ spec: pkgx install uuidgen gh auth login export JOB_ID=$(uuidgen) - echo '{"job_id": $JOB_ID }' | gh workflow run build-and-deploy-staging --repo mark3labs/louper-v3 --ref dev + echo '{"job_id": $JOB_ID }' | gh workflow run build-and-deploy-staging --repo mark3labs/louper-v3 --ref dev --json STATUS=(gh run list --workflow=ci.staging.yml --json "status,name" | jq '.[] | select(.name == "build-and-deploy-staging:$JOB_ID")' | jq '.status') echo $STATUS