From 70c24f3c106e7b9faa0fad185b6f5324365ab503 Mon Sep 17 00:00:00 2001 From: Guian Gumpac Date: Thu, 29 Aug 2024 21:12:25 -0700 Subject: [PATCH] Test deployment status check Signed-off-by: Guian Gumpac --- .github/workflows/java-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/java-cd.yml b/.github/workflows/java-cd.yml index 6e646015da..fb6757ac77 100644 --- a/.github/workflows/java-cd.yml +++ b/.github/workflows/java-cd.yml @@ -203,7 +203,7 @@ jobs: "https://central.sonatype.com/api/v1/publisher/status?id=${{ env.DEPLOYMENT_ID }}" \ | jq '.deploymentState'` - if [[ $DEPLOYMENT_STATUS -eq ""\"VALIDATED"\"" ]]; then exit 0; fi + if [[ $DEPLOYMENT_STATUS == ""\"VALIDATED"\"" ]]; then exit 0; fi done curl --request POST \