From 980c10da607576d977aad568b09ed1c96f4c0998 Mon Sep 17 00:00:00 2001 From: Luis Rodriguez Date: Fri, 25 Oct 2024 16:47:53 -0400 Subject: [PATCH] reference correct build number --- .github/workflows/build-deploy-cloudrun-function.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-deploy-cloudrun-function.yml b/.github/workflows/build-deploy-cloudrun-function.yml index 17debfd..4864012 100644 --- a/.github/workflows/build-deploy-cloudrun-function.yml +++ b/.github/workflows/build-deploy-cloudrun-function.yml @@ -88,7 +88,7 @@ jobs: exit 1 fi gcloud config set project ${{ secrets.GCP_PROJECT_ID }} - gcloud functions deploy ${{ inputs.function_name }}-${{ needs.build.outputs.build-number }} \ + gcloud functions deploy ${{ inputs.function_name }}-${{ steps.build-number.outputs.build-number }} \ --flags-file=function_config.yml \ --region $GCP_REGION \ --build-service-account=projects/${{ secrets.GCP_PROJECT_ID }}/serviceAccounts/${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }} \