Skip to content

Commit

Permalink
fix status
Browse files Browse the repository at this point in the history
  • Loading branch information
ezynda3 committed May 16, 2024
1 parent 3b1876e commit ffdade4
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 @@ -77,7 +77,7 @@ spec:
STATUS="starting"
while [[ "$STATUS" != "completed" && "$STATUS" != "failure" ]]
do
STATUS=$(gh run list --workflow=build-and-deploy-staging --repo mark3labs/louper-v3 --json "status,name" | jq '.[] | select(.name == "build-and-deploy-staging:$JOB_ID")' | jq '.status')
STATUS=$(gh run list --workflow=build-and-deploy-staging --repo mark3labs/louper-v3 --json "status,name" | jq --arg i "build-and-deploy-staging:$JOB_ID" '.[] | select(.name == $i)' | jq '.status')
echo "Job Status: $STATUS"
sleep 1
done
Expand Down

0 comments on commit ffdade4

Please # to comment.