Skip to content

Commit

Permalink
Update cloudbuild.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pwei1018 authored Dec 18, 2024
1 parent bff4c1a commit 8bc1c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/backend-deploy-job/files/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand Down

0 comments on commit 8bc1c0e

Please sign in to comment.