Skip to content

Commit

Permalink
Merge pull request #148 from pwei1018/main
Browse files Browse the repository at this point in the history
Fixed a duplicate deployment issue.
  • Loading branch information
pwei1018 authored Jun 8, 2024
2 parents b60802b + e8cb91d commit 08235cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/cloud-deploy/files/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ steps:
if [ -z ${_DEPLOY_TARGET_FROM} ] || [ ${_DEPLOY_TARGET_FROM} = ${_DEPLOY_TARGET} ]; then
RELEASE_TIMESTAMP=$(date '+%Y%m%d%H%M')
gcloud deploy releases create v-$_SHORT_SHA-${RELEASE_TIMESTAMP} \
gcloud deploy releases create v-${_APP_NAME}-${_SHORT_SHA}-${RELEASE_TIMESTAMP} \
--delivery-pipeline=${_DEPLOY_PIPELINE} \
--region=${_REGION} \
--to-target=${_DEPLOY_TARGET} \
Expand Down

0 comments on commit 08235cb

Please sign in to comment.