From 75d454991e375272c0a8d855464a483ce2283d0c Mon Sep 17 00:00:00 2001 From: iimpulse Date: Thu, 19 Dec 2024 11:24:24 -0700 Subject: [PATCH] updating deploy to latest --- .github/workflows/ontology-build-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ontology-build-deploy.yml b/.github/workflows/ontology-build-deploy.yml index 619f78b..8ce1f58 100644 --- a/.github/workflows/ontology-build-deploy.yml +++ b/.github/workflows/ontology-build-deploy.yml @@ -108,6 +108,6 @@ jobs: --memory 3Gi --cpu 2 --min-instances 1 --max-instances 5 --no-cpu-throttling --ingress internal-and-cloud-load-balancing --service-account "${GCLOUD_SERVICE_ACCOUNT}" echo "Invoke endpoint:" - gcloud run services update-traffic $SERVICE_NAME --to-latest + gcloud run services update-traffic $SERVICE_NAME --to-latest --region "${GLOUD_REGION}" gcloud run services list --platform managed --format json | jq -r \ '.[] | select(.metadata.name == "google-cloud-run-maven-test") | .status.address.url'