From 8bc1c0e14a5561dcb54074723cf37bd54bd5e859 Mon Sep 17 00:00:00 2001 From: Patrick Wei <44277752+pwei1018@users.noreply.github.com> Date: Wed, 18 Dec 2024 10:50:07 -0800 Subject: [PATCH] Update cloudbuild.yaml --- .github/actions/backend-deploy-job/files/cloudbuild.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/backend-deploy-job/files/cloudbuild.yaml b/.github/actions/backend-deploy-job/files/cloudbuild.yaml index 86dba79f..01ad2cb2 100644 --- a/.github/actions/backend-deploy-job/files/cloudbuild.yaml +++ b/.github/actions/backend-deploy-job/files/cloudbuild.yaml @@ -118,7 +118,7 @@ steps: cd ./devops/gcp RELEASE_NAME="v-${_APP_NAME}-${_SHORT_SHA}-$(date '+%Y%m%d%H%M')" - if [ -z "${_DEPLOYMENT_ENV_FROM}" ] || [ "${_DEPLOYMENT_ENV_FROM}" = "${_DEPLOYMENT_ENV}" ] || [ "${_DEPLOYMENT_ENV}" == "sandbox"]; then + if [ -z "${_DEPLOYMENT_ENV_FROM}" ] || [ "${_DEPLOYMENT_ENV_FROM}" = "${_DEPLOYMENT_ENV}" ] || [ "${_DEPLOYMENT_ENV}" = "sandbox" ]; then gcloud deploy releases create "${RELEASE_NAME}" \ --delivery-pipeline="${_DEPLOYMENT_PIPELINE}" \ --region="${_REGION}" \