diff --git a/.k8s/staging/deployment.yml b/.k8s/staging/deployment.yml index 9dec455..ec7a0c5 100644 --- a/.k8s/staging/deployment.yml +++ b/.k8s/staging/deployment.yml @@ -74,7 +74,7 @@ spec: 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 --json - STATUS=(gh run list --workflow=ci.staging.yml --json "status,name" | jq '.[] | select(.name == "build-and-deploy-staging:$JOB_ID")' | jq '.status') + STATUS=$(gh run list --workflow=ci.staging.yml --json "status,name" | jq '.[] | select(.name == "build-and-deploy-staging:$JOB_ID")' | jq '.status') echo $STATUS resources: