Skip to content

Commit

Permalink
fix get status
Browse files Browse the repository at this point in the history
  • Loading branch information
ezynda3 committed May 16, 2024
1 parent ba54c4d commit 70939e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .k8s/staging/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 70939e0

Please # to comment.